Remove unused rights method
This commit is contained in:
parent
8767618f18
commit
505d0e77fa
|
@ -93,8 +93,6 @@ The interface is defined as followed:
|
|||
|
||||
```go
|
||||
type Rights interface {
|
||||
IsAdmin(Auth) (bool, error)
|
||||
CanWrite(Auth) (bool, error)
|
||||
CanRead(Auth) (bool, int, error) // The int is the max right the user has for this entity.
|
||||
CanDelete(Auth) (bool, error)
|
||||
CanUpdate(Auth) (bool, error)
|
||||
|
|
Loading…
Reference in New Issue