Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This concept page describes both how to control when an action is available and how to restrict access to such actions.

Table of Contents

Availability

The availability is based on the selection although specific exceptions exists. For instance not all actions operate on a selected node. For redo/undo we will enable/disable based on the undo history size.

...

Q: Do we want to hide a section if all its actions are disabled? What if the user is not authorized to use any of the actions does it then make sense to hide the section?

 

Access Control

Determining wether the current user has access to an actions should be based on roles. We need to configure the required roles on the action definition.

...

Groups and items can be enabled/disabled.

Logic charts for current behaviour

Contacts AppS folderActionsG addActionsG editActionsS contactsActionsG addActionsG editActions
no selection or rootxx xx 
mgnl:folderxxxxx 
any other node   x x

...

PagesA deleteA previewA editA exportA activateA deactivateA activateRecursive
no selection or root       
any selectionxxxxxxonly if no sub pages

 

 

Configuration proposal (rejected)

on each level, section, group, action, we need to configure three things:

...