ChangePermissionsfor a page with title "PermissionsTest".
but when we use the GrantActions() method we use
SecurityConstants.Sets.Pages.ModifyIs that correct?
- should I be able to see the permissions that this code creates, somewhere in the SF web app gui?
- if so, Where?
- if not,
- what coding would I use to set permissions that allow a role to modify a page. And these permission show up in the SF gui at: Pages List/ click Actions for the page/ click Permissions. (see attached pictures)
GetPermissionmethod of the manager in a fashion similar to the
CreatePermissionused in the last snippet we sent you below. Basically what you need to do, is to create a logic that checks if such a permission does not exists, and then creating it; otherwise the permission stays attached and you will continue get this exception.
thePermission.GrantActions(true, SecurityConstants.Sets.Pages.Create);I thought that would do what I need, but it doesnt.