You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A common use case may be to have a list of users and groups to add to content, however, the current implementation requires that list to be segregated by users and groups. A cleaner implementation would allow .permissions.create to take either a user or a group guid and then sort out internally what type of principal it is.
To add a user or group, the "principal_type" of "user" or "group" is required as an input. Examples:
Add user:
Add a group:
A common use case may be to have a list of users and groups to add to content, however, the current implementation requires that list to be segregated by users and groups. A cleaner implementation would allow
.permissions.create
to take either a user or a group guid and then sort out internally what type of principal it is.See posit-dev/connect-cookbook#65 for how this requires two different recipes to do more or less the same thing.
The text was updated successfully, but these errors were encountered: