core icon indicating copy to clipboard operation
core copied to clipboard

Update WorkflowAPI to accept a list of permissions with a content submission

Open wezell opened this issue 2 years ago • 0 comments

If a user wants to post a new piece of content and permission it individually at the time of saving, they should be able to pass a Map<String,List<String>> of permissions and the roles that have them, e.g.

"individualPermissions":{
   "READ":["34324324-2354325-324234","234324-23423-32432-324432","234234234-234234-324"],
   "ADD_TO":["34324324-2354325-324234","234324-23423-32432-324432","234234234-234234-324"],
   "WRITE":["34324324-2354325-324234","234324-23423-32432-324432","234234234-234234-324"],
   "PUBLISH":["34324324-2354325-324234","234324-23423-32432-324432","234234234-234234-324"],
   "EDIT_PERMISSIONS":["34324324-2354325-324234","234324-23423-32432-324432","234234234-234234-324"]
}


wezell avatar Jun 15 '22 20:06 wezell