Add scope function to user

This commit is contained in:
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

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
}