WIP: remove permissions when deleting global user

This commit is contained in:
Daniel Lee
2017-06-14 23:45:30 +02:00
parent 41662b8540
commit 699f9095e2
6 changed files with 130 additions and 60 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ func (p PermissionType) String() string {
// Typed errors
var (
ErrDashboardPermissionAlreadyAdded = errors.New("A permission for this user/user group already exists.")
ErrDashboardPermissionUserOrUserGroupEmpty = errors.New("User id and user group id cannot both be empty for a dashboard permission.")
)
// Dashboard ACL model