has scope
This block is part of the users group and was last modified in core v13.0.5.
has scope v13.0.5 Checks if the current logged-in user matches the given scopes.
In pins 1
- Match all required
condition
Out pins 1
- has scopes
condition
True when the current user's scopes satisfy the required scopes : from the scopes pin, or the block's scope selector when the pin is unwired. With match_all every required scope must match, otherwise any one suffices; a required public or *public scope always passes, a user wildcard * grants everything, and wildcards like storage_* cover prefixed scopes. An empty required list yields true.
Version history
Introduced in v13.0.5.
Back to
users Return to the main group to view all sub-groups Back to current user Return to the group to view all blocks within this group 