Skip to main content
Apr 28, 2020 11:43 AM UTC
Solved

User permissions

Hello! I've started working very recently with Thingworx and I'm trying to understand how permissions work. 
I have a mashup and 2 types of User groups: Group A developers, Group B clients. I gave Runtime permission to both user groups on the mashup but when I log in with a user from either group I can't see anything from the mashup, not a single widget, is blank... Any tips?

Thank you!

Apr 29, 2020 6:59 AM UTC

Hello @JulianaGuerra,

 

Does it work for Administrator? If yes, then also check that your users have visibility Media, Style definitions, State definitions, Themes, etc. -- all that you use in that mashup.

 

Finally, to troubleshoot it, press F12 in your browser and watch the Network tab for errors in HTTP requests. If there's a problem with permissions, you should see some red lines there, click on them and look at the Reponse, it should explain what went wrong.

 

Regards,
Constantine

12 replies

Apr 28, 2020 12:03 PM UTC

Does the Organization  to which the usergroups belong have Visibility permission to the mashup?

Apr 28, 2020 12:16 PM UTC

Yes, it does. That's why I don't understand why I can't see anything 😕 

Apr 29, 2020 6:54 AM UTC

Could you check Application.log and Security.log? You can get some hints there what is not visible for users or what objects need permissions.

You can follow this tutorial in case you need more info on permissions in ThingWorx: https://developer.thingworx.com/en/resources/guides/data-model-security-control

 

Hope it helps,

Raluca Edu

Apr 29, 2020 6:59 AM UTC

Hello @JulianaGuerra,

 

Does it work for Administrator? If yes, then also check that your users have visibility Media, Style definitions, State definitions, Themes, etc. -- all that you use in that mashup.

 

Finally, to troubleshoot it, press F12 in your browser and watch the Network tab for errors in HTTP requests. If there's a problem with permissions, you should see some red lines there, click on them and look at the Reponse, it should explain what went wrong.

 

Regards,
Constantine

Apr 29, 2020 2:06 PM UTC

Thank you so much for your response. So, yes, it works with the Administrator and I checked the visibility, allegedly, it is all set. The mashup I'm testing is really simple just a header, a button, and an image because I just wanted to test what different users could see with different permissions type. However, none can see anything except for the Administrator.

I also did your F12 tip and I got some errors such as "Failed to load resource". 


Apr 29, 2020 3:06 PM UTC

I followed the errors and had "PlatformSubsystem not found". So I looked for the same kind of question here in Community and found out that I need to give Visibility permission to the Organization on the PlatformSubsystem according to this post: https://community.ptc.com/t5/ThingWorx-Developers/Entity-Not-Found-PlatformSubsystem/td-p/529799. Is this correct?