Preparing search index...
The search index is not available
@terrestris/shogun-util
@terrestris/shogun-util
service/PermissionService
PermissionService
Class PermissionService
Hierarchy (
view full
)
GenericService
PermissionService
GenericEntityService
Index
Constructors
constructor
Properties
base
Path
keycloak?
Methods
delete
Group
Class
Permission
delete
Group
Class
Permissions
delete
Group
Instance
Permission
delete
Group
Instance
Permissions
delete
Role
Class
Permission
delete
Role
Class
Permissions
delete
Role
Instance
Permission
delete
Role
Instance
Permissions
delete
User
Class
Permission
delete
User
Class
Permissions
delete
User
Instance
Permission
delete
User
Instance
Permissions
get
Group
Class
Permission
get
Group
Class
Permissions
get
Group
Instance
Permission
get
Group
Instance
Permissions
get
Page
Url
get
Role
Class
Permission
get
Role
Class
Permissions
get
Role
Instance
Permission
get
Role
Instance
Permissions
get
User
Class
Permission
get
User
Class
Permissions
get
User
Instance
Permission
get
User
Instance
Permissions
set
Group
Class
Permission
set
Group
Instance
Permission
set
Role
Class
Permission
set
Role
Instance
Permission
set
User
Class
Permission
set
User
Instance
Permission
Constructors
constructor
new
Permission
Service
(
opts
)
:
PermissionService
Parameters
opts
:
GenericServiceOpts
Returns
PermissionService
Properties
Protected
Readonly
base
Path
base
Path
:
string
Protected
Optional
Readonly
keycloak
keycloak
?:
Keycloak
Methods
delete
Group
Class
Permission
delete
Group
Class
Permission
(
id
,
groupId
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
groupId
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
delete
Group
Class
Permissions
delete
Group
Class
Permissions
(
id
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
delete
Group
Instance
Permission
delete
Group
Instance
Permission
(
id
,
groupId
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
groupId
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
delete
Group
Instance
Permissions
delete
Group
Instance
Permissions
(
id
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
delete
Role
Class
Permission
delete
Role
Class
Permission
(
id
,
roleId
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
roleId
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
delete
Role
Class
Permissions
delete
Role
Class
Permissions
(
id
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
delete
Role
Instance
Permission
delete
Role
Instance
Permission
(
id
,
roleId
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
roleId
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
delete
Role
Instance
Permissions
delete
Role
Instance
Permissions
(
id
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
delete
User
Class
Permission
delete
User
Class
Permission
(
id
,
userId
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
userId
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
delete
User
Class
Permissions
delete
User
Class
Permissions
(
id
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
delete
User
Instance
Permission
delete
User
Instance
Permission
(
id
,
userId
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
userId
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
delete
User
Instance
Permissions
delete
User
Instance
Permissions
(
id
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
get
Group
Class
Permission
get
Group
Class
Permission
(
id
,
groupId
,
fetchOpts
?
)
:
Promise
<
UserClassPermission
>
Parameters
id
:
string
|
number
groupId
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
UserClassPermission
>
get
Group
Class
Permissions
get
Group
Class
Permissions
(
id
,
fetchOpts
?
)
:
Promise
<
GroupClassPermission
[]
>
Parameters
id
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
GroupClassPermission
[]
>
get
Group
Instance
Permission
get
Group
Instance
Permission
(
id
,
groupId
,
fetchOpts
?
)
:
Promise
<
UserInstancePermission
>
Parameters
id
:
string
|
number
groupId
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
UserInstancePermission
>
get
Group
Instance
Permissions
get
Group
Instance
Permissions
(
id
,
fetchOpts
?
)
:
Promise
<
GroupInstancePermission
[]
>
Parameters
id
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
GroupInstancePermission
[]
>
Protected
get
Page
Url
get
Page
Url
(
pageOpts
?
)
:
string
Parameters
Optional
pageOpts
:
PageOpts
Returns
string
get
Role
Class
Permission
get
Role
Class
Permission
(
id
,
roleId
,
fetchOpts
?
)
:
Promise
<
RoleClassPermission
>
Parameters
id
:
string
|
number
roleId
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
RoleClassPermission
>
get
Role
Class
Permissions
get
Role
Class
Permissions
(
id
,
fetchOpts
?
)
:
Promise
<
RoleClassPermission
[]
>
Parameters
id
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
RoleClassPermission
[]
>
get
Role
Instance
Permission
get
Role
Instance
Permission
(
id
,
roleId
,
fetchOpts
?
)
:
Promise
<
RoleInstancePermission
>
Parameters
id
:
string
|
number
roleId
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
RoleInstancePermission
>
get
Role
Instance
Permissions
get
Role
Instance
Permissions
(
id
,
fetchOpts
?
)
:
Promise
<
RoleInstancePermission
[]
>
Parameters
id
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
RoleInstancePermission
[]
>
get
User
Class
Permission
get
User
Class
Permission
(
id
,
userId
,
fetchOpts
?
)
:
Promise
<
UserClassPermission
>
Parameters
id
:
string
|
number
userId
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
UserClassPermission
>
get
User
Class
Permissions
get
User
Class
Permissions
(
id
,
fetchOpts
?
)
:
Promise
<
UserClassPermission
[]
>
Parameters
id
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
UserClassPermission
[]
>
get
User
Instance
Permission
get
User
Instance
Permission
(
id
,
userId
,
fetchOpts
?
)
:
Promise
<
UserInstancePermission
>
Parameters
id
:
string
|
number
userId
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
UserInstancePermission
>
get
User
Instance
Permissions
get
User
Instance
Permissions
(
id
,
fetchOpts
?
)
:
Promise
<
UserInstancePermission
[]
>
Parameters
id
:
string
|
number
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
UserInstancePermission
[]
>
set
Group
Class
Permission
set
Group
Class
Permission
(
id
,
groupId
,
permissionType
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
groupId
:
string
|
number
permissionType
:
PermissionCollectionType
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
set
Group
Instance
Permission
set
Group
Instance
Permission
(
id
,
groupId
,
permissionType
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
groupId
:
string
|
number
permissionType
:
PermissionCollectionType
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
set
Role
Class
Permission
set
Role
Class
Permission
(
id
,
roleId
,
permissionType
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
roleId
:
string
|
number
permissionType
:
PermissionCollectionType
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
set
Role
Instance
Permission
set
Role
Instance
Permission
(
id
,
roleId
,
permissionType
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
roleId
:
string
|
number
permissionType
:
PermissionCollectionType
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
set
User
Class
Permission
set
User
Class
Permission
(
id
,
userId
,
permissionType
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
userId
:
string
|
number
permissionType
:
PermissionCollectionType
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
set
User
Instance
Permission
set
User
Instance
Permission
(
id
,
userId
,
permissionType
,
fetchOpts
?
)
:
Promise
<
void
>
Parameters
id
:
string
|
number
userId
:
string
|
number
permissionType
:
PermissionCollectionType
Optional
fetchOpts
:
RequestInit
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
Path
keycloak
Methods
delete
Group
Class
Permission
delete
Group
Class
Permissions
delete
Group
Instance
Permission
delete
Group
Instance
Permissions
delete
Role
Class
Permission
delete
Role
Class
Permissions
delete
Role
Instance
Permission
delete
Role
Instance
Permissions
delete
User
Class
Permission
delete
User
Class
Permissions
delete
User
Instance
Permission
delete
User
Instance
Permissions
get
Group
Class
Permission
get
Group
Class
Permissions
get
Group
Instance
Permission
get
Group
Instance
Permissions
get
Page
Url
get
Role
Class
Permission
get
Role
Class
Permissions
get
Role
Instance
Permission
get
Role
Instance
Permissions
get
User
Class
Permission
get
User
Class
Permissions
get
User
Instance
Permission
get
User
Instance
Permissions
set
Group
Class
Permission
set
Group
Instance
Permission
set
Role
Class
Permission
set
Role
Instance
Permission
set
User
Class
Permission
set
User
Instance
Permission
@terrestris/shogun-util
Loading...