Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Hide tabs of a tabstrip after authority-check

javier_rodruez
Participant
0 Kudos

Hi experts,

I would like to hide tabs of a tabstrip depending on the user that is running the application. We have created an authorization-object "Z" to restrict this.

The scenario will be the following: for example, he have a tabstrip with 4 tabs. USER1 could only have editable tabs 1, 2 and 3. And USER2 have the restriction of not viewing tabs 1 and 3.

How can I associate each tab with the authorization-object?

Lots of thanks.

Javier

2 REPLIES 2

Former Member
0 Kudos

Hi

It depends on how you have create the authorization object: it should be have 2 fields

-one for the tab number

-one for the action (Create, Change and Display)

Max

Former Member
0 Kudos

If you only have a few authorization scenarios you could create a screen with the correct tabstrips for each. Depending on the values of the authorization check, call the desired screen.