cloud_controller/app/models/service.rb
def validate_by_acls?(user, acl)
    !acl ||
    (!acl["users"] && !acl["wildcards"]) ||
    user_in_userlist?(user, acl["users"]) ||
    user_match_wildcards?(user, acl["wildcards"])
  end
# Return true if acls is empty or user matches user list or wildcards
# false otherwise.
Return true if acls is empty or user matches user list or wildcards
false otherwise.
Return true if acls is empty or user matches user list or wildcards false otherwise .
def validate_by_acls?(user, acl)
    !acl ||
    (!acl["users"] && !acl["wildcards"]) ||
    user_in_userlist?(user, acl["users"]) ||
    user_match_wildcards?(user, acl["wildcards"])
  end
def validate_by_acls? ( user , acl ) ! acl || ( ! acl [ "users" ] && ! acl [ "wildcards" ] ) || user_in_userlist? ( user , acl [ "users" ] ) || user_match_wildcards? ( user , acl [ "wildcards" ] ) end
Return true if acls is empty or user matches user list or wildcards
false otherwise.
Return true if acls is empty or user matches user list or wildcards false otherwise .
user
acl