entity_type_access_conditions-1.0.1/entity_type_access_conditions.entity_type_access_conditions.yml

entity_type_access_conditions.entity_type_access_conditions.yml
# Node is added to prevent users creating nodes of types that are restricted.
# We are not restricting access to particular node entities themselves, just
# their creation forms if their bundle type is restricted.
node:
  label: 'Node'
  restricted_operations:
    - create

# Node type is added to restrict access to particular bundles. The create
# operation is restricted to prevent users from creating nodes of a type that is
# restricted.
node_type:
  label: 'Node Type'
  altered_forms:
    - node_type_add_form
    - node_type_edit_form
  restricted_operations:
    - create
    - update
    - delete
    - view

# Media is added to prevent users creating media of types that are restricted.
# We are not restricting access to particular media entities themselves, just
# their creation forms if their bundle type is restricted.
media:
  label: 'Media'
  restricted_operations:
    - create

# Media type is added to restrict access to particular bundles. The create
# operation is restricted to prevent users from creating media of a type that is
# restricted.
media_type:
  label: 'Media Type'
  altered_forms:
    - media_type_add_form
    - media_type_edit_form
  restricted_operations:
    - create
    - update
    - delete
    - view

# Taxonomy term is added to restrict access to creating terms in restricted
# vocabularies. We are not restricting access to particular term entities
# themselves, just their creation forms if their vocabulary type is restricted.
taxonomy_term:
  label: 'Taxonomy Term'
  restricted_operations:
    - create

# Taxonomy vocabulary is added to restrict access to particular vocabularies.
taxonomy_vocabulary:
  label: 'Taxonomy Vocabulary'
  altered_forms:
    - taxonomy_vocabulary_form
  restricted_operations:
    - create
    - update
    - delete
    - access taxonomy overview

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc