Private Entity

Component ID

2924149

Component name

Private Entity

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

13

Component created

Component changed

Component body

Simple per entity access flag limited to the view operation.

Configuration

  1. Create a private field for the entity type / bundle you want to limit access.
  2. Set the permissions for the roles that can view the private entities.
  3. Make some entities private

The first version will be limited to the Node entity type.

Use case

Suitable when you want

  • A single privacy rule for viewing content that can be applied per role.
  • A private flag accessible straight from the entity create and edit form.

Roadmap

  • Redirect 403 to user login then redirect after login to the entity that tried to be accessed.
  • Use a custom publishing option as an alternative to a field.
  • Bulk edit from the /admin/content list.