Skip to main content

As the title specifies, I am wondering what a column returns when there are no rights specified for a certain role.

In this case, I want to assign the value 1 to a column, so when a certain user with a certain role logs on, he sees a screen in a certain configuration. When a user on another role logs on, without rights on this column, what does this return?

If it returns a NULL value when called upon, that would be the most ideal. Then I can build a layout control procedure around that logic, but we are simply not sure what it returns when roles are turned off. Does it return anything in the first place?

Hello Sander,

When a user has no rights to a column, he doesn’t get to see that column and that columns is also not asked for by de gui’s. Specifically asking for that column inside a browser or Postman / insomnia would result in a forbidden response.


 


Hello Sander,

When a user has no rights to a column, he doesn’t get to see that column and that columns is also not asked for by de gui’s. Specifically asking for that column inside a browser or Postman / insomnia would result in a forbidden response.


 

Hello Edo, 

Then I know enough, we should find another way to achieve what we want to achieve then. Thank you for your quick and clear response.


Hello Sander,

When a user has no rights to a column, he doesn’t get to see that column and that columns is also not asked for by de gui’s. Specifically asking for that column inside a browser or Postman / insomnia would result in a forbidden response.


 

Hello Edo,

To follow up on this: I have one more question. I am configuring a layout and I am checking whether a certain field has the value '1’. If this is the case, then it should show some task fields. But when the user has no rights on this field, and the task popup shows, shouldn't it hide the task fields in question, because that field without rights has no value anymore?


Hello Sander,

Application logic (Layout and Context procedures for example) always gets the whole row, even hidden fields.
So you can still disable columns based on a hidden status field

I’ve edited the first version of this reply because i misunderstood the question.