Newer
Older
package rbac
import "github.com/google/uuid"
// Role represents a role with permissions
type Role interface {
ID() uuid.UUID
Name() string
GetDescription() string
GetPermissions() []string
RemovePermissionsFromRole([]string)
}