crash.software
Projects
Pull Requests
Issues
Builds
gophish
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
gophish
Files
🤬
Sign In
faadf0c8
ROOT
/
models
/
rbac.go
Search
History
89 lines
|
ISO-8859-1
|
2 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
RoleAdmin
RoleUser
PermissionViewObjects
PermissionModifyObjects
PermissionModifySystem
Role
ID
:
int64
Slug
:
string
Name
:
string
Description
:
string
Permissions
:
[]Permission
Permission
ID
:
int64
Slug
:
string
Name
:
string
Description
:
string
GetRoleBySlug
(slug string)
:
(Role, error)
*User
HasPermission
(slug string)
:
(bool, error)
All occurrences
Please wait...
Page is in error, reload to recover