Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
I have to give privilege that only Administrator only should be able to access, view or upload the file in the File upload widget.
Or is there any other widget in which we can perform the above thing?
For instance you can create a FileRepository to whom Administrator it's the only user with permissions. The widget in itself doesn't grants/denies the access to the FileRepository.
Beyond that you can use the CurrentUser to determine the Group of the User (GetGroups) to then drive either visibility of the Widget or even the name of the Mashup that a user will see. And drive the Menu items.
Hi Pai,
Yes, but that doesn't blocks to a "expert" user to be able to enter on the files through REST API...
Carles.
Correct, that's why I liked your answer
And that's why I said 'beyond'
Functionality should be properly secured first, but you can then tailor the UI so that people will only see functionality that they can use.
It would be rather frustrating for a user to get a file upload widget but not be able to upload