Now that the View Permission module seems to be fully integrated and functional, I present a brief overview and explanation of the functionality in Evolutivo.
In this blog post I am going to be enhancing this page of the manual with the intent to make it clearer how this module works and we can configure the access to our filters.
The View Management module permits us to fine-tune the sharing rules of filters on each module and on each view itself. If you read that sentence carefully you see that there is an and
. This module permits us to define the general permissions for each user when performing filter operations in a module AND it also permits us to define the permissions any user has on each particular filter.
That means that this module has two types of records, or two "modes", one for setting the permissions of a filter and another for the default permissions of a module.
The first thing to grasp is the concept of "modes" within the View Management module. A record can have two distinct modes:
The Default Setting
checkbox is the key to switch between these two modes. When checked, it signifies that the record is in Default Permissions Mode. Conversely, unchecking the checkbox puts the record in Filter Settings Mode, allowing you to customize permissions for a specific view.
To set permissions for a particular view, follow these simple steps:
Default Setting
checkbox: This action puts the record into Filter Settings Mode, enabling you to fine-tune permissions for the view.In cases where the Default Setting
checkbox is checked, you can establish default permissions for an entire module. Here's how:
Default Setting
checkbox: This puts the record into Default Permissions Mode, allowing you to set permissions for the module as a whole.The View Management module also offers a handy synchronization feature with List View Filters. When a new filter is created on a module, the application automatically creates a View Permission record with default settings. This includes the user who created the filter, subroles of the user, and preset CRUD-A permissions. This is also very useful for other use cases, since this is "just" another record creation inside the application we can define workflows that do tasks for us. For example, by setting the "Set Public" checkbox, you can trigger an email notification to specific users who need to approve the filter for others.
Now that we understand that there are two modes inside the View Management module, we need to understand also how it decides which of all the records that may apply to a given filter it uses to decide the permissions. In other words, any given user may try to access any filter on any module. The View Permission module must get a list of records that apply to that user and filter and decide which one it will use to return the permissions. For this, the module has a set of escalation rules that determine the accessibility of views. The process is as follows:
Watch a quick explanation of the View Permission module showing how it works with some examples.
With the View Management module, managing access permissions and sharing rules becomes a straightforward process. Whether you need to customize permissions for a specific view or set default permissions for an entire module, this feature empowers you to maintain data security and optimize workflow efficiency. So, take advantage of this powerful tool and unlock the true potential of your system's access control.
HTH
Photo by Danielle Rice on Unsplash