Add scope function to user

pull/144/head
Henrique Dias 2017-06-25 20:52:06 +01:00
parent ab9cf62450
commit 08aaaa5221
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
1 changed files with 5 additions and 0 deletions

View File

@ -244,3 +244,8 @@ func (u User) Allowed(url string) bool {
return true
}
// Scope returns the user scope.
func (u User) Scope() string {
return u.scope
}