🚀New lib version v0.13.1 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
12
dist/services/PermissionService.js
vendored
12
dist/services/PermissionService.js
vendored
@@ -6,7 +6,7 @@ class PermissionService {
|
||||
/**
|
||||
* Get all
|
||||
* Lists all permissions for all users and groups.
|
||||
* @returns ResponsePermission
|
||||
* @result ResponsePermission
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async permissionControllerGetAll() {
|
||||
@@ -20,7 +20,7 @@ class PermissionService {
|
||||
* Post
|
||||
* Create a new permission for a existing principal(user/group). <br> If a permission with this target, action and prinicpal already exists that permission will be returned instead of creating a new one.
|
||||
* @param requestBody CreatePermission
|
||||
* @returns ResponsePermission
|
||||
* @result ResponsePermission
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async permissionControllerPost(requestBody) {
|
||||
@@ -35,7 +35,7 @@ class PermissionService {
|
||||
* Get one
|
||||
* Lists all information about the permission whose id got provided.
|
||||
* @param id
|
||||
* @returns ResponsePermission
|
||||
* @result ResponsePermission
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async permissionControllerGetOne(id) {
|
||||
@@ -50,7 +50,7 @@ class PermissionService {
|
||||
* Update a permission object. <br> If updateing the permission object would result in duplicate permission (same target, action and principal) this permission will get deleted and the existing permission will be returned. <br> Please remember that ids can't be changed.
|
||||
* @param id
|
||||
* @param requestBody UpdatePermission
|
||||
* @returns ResponsePrincipal
|
||||
* @result ResponsePrincipal
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async permissionControllerPut(id, requestBody) {
|
||||
@@ -66,8 +66,8 @@ class PermissionService {
|
||||
* Deletes the permission whose id you provide. <br> If no permission with this id exists it will just return 204(no content).
|
||||
* @param id
|
||||
* @param force
|
||||
* @returns ResponsePermission
|
||||
* @returns ResponseEmpty
|
||||
* @result ResponsePermission
|
||||
* @result ResponseEmpty
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async permissionControllerRemove(id, force) {
|
||||
|
||||
Reference in New Issue
Block a user