Skip to main content
1-Visitor
April 28, 2020
Solved

User permissions

  • April 28, 2020
  • 2 replies
  • 4907 views

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!

Best answer by Constantine

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

2 replies

16-Pearl
April 28, 2020

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

1-Visitor
April 28, 2020

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

17-Peridot
April 29, 2020

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

18-Opal
April 29, 2020

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

1-Visitor
April 29, 2020

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". 


1-Visitor
April 29, 2020

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?