All the modules that implement an access control system.

Field Paywall

Field Paywall allows developers to replace fields on entities with a message depending on user permissions. It's useful for giving visitors teasers to content before advising them to sign up to see more.

Why fields?

Paywall configuration is stored in fields because it allows developers to very easily retrofit paywalls to existing entities and export field configuration using tools such as Features. Paywalls can also be re-used across multiple entity types and bundles. Furthermore the position of the paywall can be adjusted using the Field UI display configuration.

Downloads

Workbench Tweaks

Altering destination upon saving new state, which would use system path

Workbench Moderation Hotfix

Allows for hot fixes to be done to live content that is controlled via the workbench_moderation module. Similar functionality to git stash.

Route skip to access

See How to skip route if not user access.

This module provides route option "_skip_to_access" to skip route to the next if user does not access to current route.

Example route:

entity.my_entity.edit_form:
  path: '/path/{my_entity}'
  defaults:
    _entity_form: 'my_entity.edit'
  requirements:
    _permission: 'administer my_entity'
  options:
    _skip_to_access: true

Workbench Moderation State Access

This module works with Workbench Moderation. Workbench Moderation implements only per-transition permissions. This module implements an access control by moderation states.

The initial code is based on a patch by @Bevan (thanks!) in #1296216: Set Permissions By State. As recommended in that issue, I created a contrib module.

Downloads

Commerce License Sharing

Allows commerce licenses to be shared with other users (if they do not yet have an account, their license will be activated once their account is created.)

Pages

Subscribe with RSS Subscribe to RSS - Content Access Control