Files changed (5)
When the DAO was initialized a query file was loaded. This function will search the loaded queries for one
http.Error(writer, "Error attempting to retrieve privileges granted to the user: "+err.Error(), INTERNAL_SERVER_ERROR)
panic("Environment variable " + ROOT + " has not been set. Please set this to the application path.")
ps.GetCollection(writer, req, PRIV_PRIV_VIEW, getUserGranted, ps.Base().EncodeModels(encodePrivilege))
+ Synchronizes the privileges that have been granted to a group. Removes all existing grants and replaces them with
+ the grants provided in the request. An array of IDs is expected in the post body with privileges to grant.