Skip to content

Drupal 8 module providing a 'User Permission' condition. Useful for context aware conditions based on user permissions.

License

Notifications You must be signed in to change notification settings

rjgwiz/user_permission_condition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

User Permission Condition

Machine name: user_permission_condition

Overview

Provides a 'User Permission' condition for Drupal 8.4.x, useful for context aware conditions based on user permissions.

Ideally this makes its way into Drupal Core's user module alongside user/src/Plugin/Condition/UserRole.php.

Use Cases

  • Block visibility
  • Page Manager pages Page access
  • Page Manager variants Selection criteria (variant access).
  • Chaos tool suite (ctools)
  • Anything that uses a context aware condition plugin (e.g. uses ContextAwarePluginManagerInterface to find classes extend ConditionPluginBase which implements ContainerFactoryPluginInterface).

About

Drupal 8 module providing a 'User Permission' condition. Useful for context aware conditions based on user permissions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages