cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Resources["EntityServices"].AddResourceEntityPermission

AS_10125493
1-Newbie

Resources["EntityServices"].AddResourceEntityPermission

anybody know to use this service? I want to assign the run time permissions for multiple user groups

 

I know there is an explanation how to use it, but unfortunarely, there is no clue how to fill the infotable (one of the params) in anywhere

 

this is the entry for the infotable
// RunTimePermissions entry object
let newEntry = {
isPermitted: undefined, // BOOLEAN
name: undefined, // STRING [Primary Key]
resourceName: undefined, // STRING [Primary Key]
type: undefined, // STRING [Primary Key]
permissionName: undefined // STRING [Primary Key]
};

 

 

1 REPLY 1
PaiChung
22-Sapphire I
(To:AS_10125493)

Are you specifically trying to set permissions on a resource?

Sort of like after install, initialize your solution by setting permissions on all the supported entities?

One way btw would be to use the Import/Export CollectionPermissions for this.

Also using the CollectionFunctions there is AddCollectionRunTimePermission (and DesignTime)

 

I'm not absolutely sure what the last two parameters would map to in your service unfortunately.

type might be Runtime vs Designtime and permissionName would be read/write/etc.

Sorry I've only used the CollectionFunction one which only has 'type' which covers runtime or designtime permissions.

Top Tags