company logo

DatabaseContext :: resetPermissions - Reset permission cache

The function resets the cache for enabled and disabled actions. This might become necessary e.g. when changing the active user in an application. Usually, the permission cache is part of the database or project context, i.e. the function should be called from within database or project context class functions.

Resetting permissions will not remove protected actions from the protected action list bit reset the enabled/disabled state for the action, only.

Implementation details

DatabaseContext  :: resetPermissions (  )

The function resets permissions for all cached actions.