This content has been marked as final. Show 3 replies
Authorization scheme for EACH page item? Such that the items would be read-only for level 2 people and also help with item 3..
I've looked at the 3.0 version of this ( that is what this client has)
What I see is what's described on the first page: you could use an authorization scheme to selectively determine which tabs, regions, or navigation bars a user sees.
I want some users to be able to see everything, but just see it as read only.
What I'm seeing in this Security Through Authorization documentation is I can set a security level to say EDIT , then any user who has a security level below EDIT ( ie VIEW) doesn't see that component at all. This is not what I need
Am I missing something?
I find documentation on how to set an individual element to read only:
And this works; but it means that for each item, I need to list each user who is read only. Not very realistic solution to have to edit 50 items every time a new user is added
I can get this read only function to work by putting in a read only condition on each ITEM. I don't see any place where I can put a read only condition on a page or at the application level. The Apex authorization levels are Admin, Edit and View. If a page is set to VIEW all users with VIEW access and above see the same thing ( I.e. if someone can edit it they all can all edit it). If I set the page access to EDIT, then users with view access can not see anything.
I can get around this if I add an SQL expression at each ITEM level that says something like read only if :APP_USER LIKE 'V%'.
So if I give one set of users IDs that start with 'V', this will work.
It still means I have to hard code each individual ITEM, but at least I only have to do it once and don't have to change it if new users are added.
It would be better if there was a way to use authentication to set the entire page to read only instead of just able to view and not able to view, but I haven't found anyway to do this