Skip to content

Conversation

b3ni
Copy link

@b3ni b3ni commented Nov 22, 2016

// permissions based on role.
// more permissive permission wins
// if user has multiple roles we keep
// true values.

This does not happen because of the following condition:

if( !array_key_exists( $clearance, $permissions[$slug] ) ) {
! $value ?: $permissions[$slug][$clearance] = true;
}

@QuentinPetel
Copy link

See #169.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants