Skip to content

Commit

Permalink
Set function sp for * string
Browse files Browse the repository at this point in the history
  • Loading branch information
webcome committed Apr 10, 2016
1 parent 95ebd4e commit 1ee7e0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions auth_server/authz/acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ func validateMatchConditions(mc *MatchConditions) error {
return nil
}

func sp(s string) *string {
return &s
}

// NewACLAuthorizer Creates a new static authorizer with ACL that have been read from the config file
func NewACLAuthorizer(acl ACL) (Authorizer, error) {
// Read users with push permission from redis ("not-limit-users")
Expand Down

0 comments on commit 1ee7e0f

Please sign in to comment.