repository_rights_restCtrl
extends RestApiCtrl
in package
Table of Contents
Methods
- delete() : object
- Removes a specific right for a group to a repository.
- get() : object
- Retrieves all the rights used in a specific Lizmap Web Client repository.
- post() : object
- Adds a specific right for a group to a repository.
- put() : mixed
- getRepoRights() : array<string|int, mixed>
- Return rights to a specific repository.
Methods
delete()
Removes a specific right for a group to a repository.
public
delete() : object
Return values
object —the response object containing the details of the operation, or an error message if the operation fails
get()
Retrieves all the rights used in a specific Lizmap Web Client repository.
public
get() : object
Labels are display depending on the local chosen ones.
Tags
Return values
object —The response object containing data or an error message
post()
Adds a specific right for a group to a repository.
public
post() : object
Return values
object —the response object containing the details of the operation, or an error message if the operation fails
put()
public
put() : mixed
getRepoRights()
Return rights to a specific repository.
protected
getRepoRights() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —Response array containing rights on a specific repository