cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Visibility and Runtime Issue with Organization

rohitk
1-Visitor

Visibility and Runtime Issue with Organization

<p>I have gone through the Organization wiki section (6.05 "Organizations") and also gone through the Video link provided.<br><br>I have a scenario where I need to create my own hierarchical organization without having Administrator as the default user group. Every Organization site has a usergroup defined.<br><br>Now, I have created Mash ups and Services which call and set the data in the Data Tables and Streams.<br><br><br><b>My Problem is </b>: that when a user is not ThingWorx Administrator user, I am not able to access the components on the screen.<br><br><b>Options that I tried:</b><br>1. I added the topmost organisation to the <b>visibility </b>of the Mashups , Services and Datatables as in the Video. Result: Still faced the same issue and was unable to fetch the data from the services and tables/streams.<br>2. I added all the usergroups in the Runtime Permissions of all the Mashups, Services and Datatables. Result: I am able to achieve the functionality but my usergroups are dynamic and they increase. This would make it difficult for me to add the user group to all the services/mashups/datatables.<br><br><br><b>Question:</b><br>1. How can I make use of Visibility for access Management of Mashups and Services? What is the benefit of using Visibility in Mashups/Services/Datatables/Streams?<br>2. How do I handle the permission access issue if my usergroups are dynamic and they keep on increasing. Do I have to programmatically add the usergroup to Runtime Permissions to all the Mashups, Services and Datatables?<br><br><br>Please advise.<br><br><br><!--[if gte mso 9]><xml>  <w:WordDocument>   <w:View>Normal</w:View>   <w:Zoom>0</w:Zoom>   <w:TrackMoves></w:TrackMoves>   <w:TrackFormatting></w:TrackFormatting>   <w:PunctuationKerning></w:PunctuationKerning>   <w:ValidateAgainstSchemas></w:ValidateAgainstSchemas>   <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>   <w:IgnoreMixedContent>false</w:IgnoreMixedContent>   <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>   <w:DoNotPromoteQF></w:DoNotPromoteQF>   <w:LidThemeOther>EN-US</w:LidThemeOther>   <w:LidThemeAsian>X-NONE</w:LidThemeAsian>   <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>   <w:Compatibility>    <w:BreakWrappedTables></w:BreakWrappedTables>    <w:SnapToGridInCell></w:SnapToGridInCell>    <w:WrapTextWithPunct></w:WrapTextWithPunct>    <w:UseAsianBreakRules></w:UseAsianBreakRules>    <w:DontGrowAutofit></w:DontGrowAutofit>    <w:SplitPgBreakAndParaMark></w:SplitPgBreakAndParaMark>    <w:EnableOpenTypeKerning></w:EnableOpenTypeKerning>    <w:DontFlipMirrorIndents></w:DontFlipMirrorIndents>    <w:OverrideTableStyleHps></w:OverrideTableStyleHps>   </w:Compatibility>   <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>   <m:mathPr>    <m:mathFont m:val="Cambria Math"></m:mathFont>    <m:brkBin m:val="before"></m:brkBin>    <m:brkBinSub m:val="&#45;-"></m:brkBinSub>    <m:smallFrac m:val="off"></m:smallFrac>    <m:dispDef></m:dispDef>    <m:lMargin m:val="0"></m:lMargin>    <m:rMargin m:val="0"></m:rMargin>    <m:defJc m:val="centerGroup"></m:defJc>    <m:wrapIndent m:val="1440"></m:wrapIndent>    <m:intLim m:val="subSup"></m:intLim>    <m:naryLim m:val="undOvr"></m:naryLim>   </m:mathPr></w:WordDocument> </xml><![endif]><![if gte mso 9]><![endif]><![if gte mso 10]>

/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman","serif";}

5 REPLIES 5
adam11
7-Bedrock
(To:rohitk)

Hi Rohit,

1. In some use cases, you may want to not only secure the Services a user may invoke, but also the Entities he can view. The functionality provided by Organizations allows you to define "visibility" for Entities allowing you to further secure your ThingWorx application.


2. More information about your use case would be beneficial. I'm interested to hear why you are dynamically creating Groups. If you are dynamically creating Groups, you will need to programmatically set runtime permissions for the Services they will invoke.


Thanks,

Adam



rohitk
1-Visitor
(To:adam11)

Thanks Adam for your reply.

So what I understand is that the Visibility adds the security component to individual components (Mashup/Services/Datatables/Streams).

My requirement is such where I have to enable the application to add subsites as in the image attached and each site would have limited access to users of that site.

!data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAN8AAABgCAIAAAASBzDbAAAOSklEQVR4nO2d3VMb19nATz9ykf4DvW1711vpL6gnb/O6wXLAxhgc1zZOareZWhqJTjKdppOZNnE2ncM2F7J7tAmcWMmICBCRmmSwVgSn1qDQd9GeleSHVa7EtLughAgadWLsywCG7TIyFqk85vnQvtxnl09/HSk3T27gDwCIVdApXcAgdgRZOcWePlR6ZJUEmSnQC7Hv28O/PStez4OAJaLXKIH1wcdlb9z4cv9crkYdRXbm8/k8z/OqLueP3h3uX5W0eVRyiMUXZ6f62d/9O7wq584a7MTRXbmeZ7P5XI/fPubn7Q/ePHy9PfggN5xPfgr94efonV2ZeePubXC5X6TpVAGRnnuf5bDYL3h558a/T4F1cbvHiX6fBW3ez2WwNdp/IzjzP85lMBmgs4B1cpqGxZDIZZGctIth5yQLiMs0LiE7axXBzjct4C1cpvEmsrNWEey8aAFtuEzjIrKzVhHsfMMCNLhM4w1kZ60i2NlqAb/HpcUELUBNMAYAG/i4OJX4DcTT1nzzWHQatst1U4Nt0UrsrNWEew8YwG/wyWEDaj6v14UW6e/voKDXpoenXvKylfC9EP/btl2argtziA7axXBztcs4AJePM47Xfk8PerZMrOHpu1z4AIOzg6AIwZwxABO28AFHPxfmPZ7QLMBHDGA5mFwAQcXbMIKR77a0nD3eA3ZWasIdrZYwOt48fgimvcHwOs4eN0GXjGAVwzgLA6oGnbHDj7lda2IiT1W8FZHPwtTHsDQke7GNCengBvEC5hjehNsWHRjbYgO2sVwc4mCziHFw2tbZm2ToNzODgreOb6YkOy7mjeT8DVbvrzru4J8HGYzq98/TfYMEXb5sA5GzhsAIcN2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DfA0Fark8lrrJS77XOpT9tISf5gb8Hgqxcn0pcZaXeU51Lf1KNxLvrDxYlV6OsVLoq4/EN46e8oWQL8hOhHxBdiLkC7ITIVQnQj5guxEyBdkJ0K+IDsR8gXZiZAv/wVwzWpRAnEWaAAAAABJRU5ErkJggg==!
So, what my approach is that, I am creating a usergroup for each subunit and attaching them to each subsite.

Since, all the services/entities require runtime access as suggested, I can initially add usergroups to all the entities at the development time . But it would become an extra overhead if I have to add a new site/subsite to the organisation (which would have a new usergroup).
Do you suggest that we create a common usergroup for all the entities.





adam11
7-Bedrock
(To:rohitk)

I assume the common Group would have permission to invoke Services while the dynamically created Groups would be placed into subunits to use for setting visibility? So while a User may have permission to invoke a Service on a particular Entity, it may not have visibility and therefore wouldn't be able to invoke the Service anyway.

bikramp
1-Visitor
(To:adam11)

Adam.. this might not solve my problem as such.


The way I look at it is: If I set the visibility of a particular entity( mashup/services etc), all the users under that organisation should be able to view and access entities assigned to that Organisation through the Visibility setting.

Otherwise,

if I run through my case, if I have to add all the users to a common usergroup and also to additional usergroups (considering that my sites are increasing and each site has its own usergroup), then this becomes an additional overhead.


Cant organisation and visibility help in this regard?



adam11
7-Bedrock
(To:bikramp)

Bikram,

I think there may be some confusion as to how Organizations and Security work in ThingWorx. Please review the Wiki entries and accompanying videos in section 06 Security and 06.05 Organizations.

Announcements


Top Tags