add username to our trip
This commit is contained in:
@@ -84,7 +84,7 @@ func (ao *CollaborativeArea) VerifyAuth(username string, peerID string, groups [
|
||||
}
|
||||
}
|
||||
}
|
||||
return false
|
||||
return ao.AbstractObject.VerifyAuth(username, peerID, groups)
|
||||
}
|
||||
|
||||
func (d *CollaborativeArea) GetAccessor(username string, peerID string, groups []string, caller *tools.HTTPCaller) utils.Accessor {
|
||||
|
@@ -23,3 +23,7 @@ func (r *Rule) GenerateID() {
|
||||
func (d *Rule) GetAccessor(username string, peerID string, groups []string, caller *tools.HTTPCaller) utils.Accessor {
|
||||
return New(tools.RULE, username, peerID, groups, caller)
|
||||
}
|
||||
|
||||
func (d *Rule) VerifyAuth(username string, peerID string, groups []string) bool {
|
||||
return true
|
||||
}
|
||||
|
Reference in New Issue
Block a user