Capsule user profile
Hello,
I have a landing screen were buttons guide the users to different screens. However, not every user should be able to click every button. For example: A nurse should not have access to a client's medical file (screen1) and a doctor's access to the medical inventory file (screen2) should be restricted. Both screens are in the same capsule. The nurse and the doctor have the same database access profile, so I want to handle the user's access within the capsule.
Does anyone have had a similar case or share best practice how to approach this?
Thank you in advance
Answers
-
Hello Steven,
you can manage the visibility or action of a label with a layout inside of it. There you can place a cube including an entity for the user (group or something similar) and of course the screen with 1 or 0 as value. So the Nurse won´t see the label or an included procedure won´t work for her.
Additionally you have to hide the screen list for the capsule.
For further Information just have a look at the help: Label Enhancements
Best Regards
Dietmar
5 -
Thank you for the reply Dietmar! But how can I define a layout in a button?
0 -
Hi Steven,
you have to Right click on the butteon and in the menu choose "Layout". then you can define a layout like in a DataView. Under Tab "value" you can define the value shown on the button, under "properties" you can Control the visibility, transparancy and the activity.
Just have a look at (it is the same for button): Label Enhancement
Remember, the visibilty is triggered only in user view, not in editing mode of the screen !
Best Regards
Dietmar
0 -
Thank you Dietmar!
0 -
It works if the User is defined in a cube. But, if the User does not have access (so, no value in a cube) it returns a Null and consequently not considered as 0. Adding a condition then for 'Visibility' or 'Enabled' is then possible thus not working.
0 -
Hi Steven,
you have to uncheck "hide Zeros" on the block for visibility.
best regards
Dietmar
0