cancel
Showing results for 
Search instead for 
Did you mean: 

Contextual menu based on User/Role association

former_member217396
Participant
0 Kudos

Hi,

just wondering is it possible to create (in the Extension file) a menu based on the User ID or even better the role association?

If not is it possible to create a menu based on the User Profile currently loaded?

I wan to have the possibility to define:

User A within a role AA can for example see a menu item Export, but the User B within a role AB can't see that menu item.

Is that possible?

If yes, how to do that? Using Criterions and some variables?

Regards,

Rafal

Accepted Solutions (0)

Answers (1)

Answers (1)

GeorgeMcGeachie
Active Contributor
0 Kudos

Hello Rafal

Have you looked into UI profiles in the repository? Each repository group or user can have a UI profile assigned to them.

See the help topic "Controlling Defaults for Menus, Toolbars, and Toolboxes"

former_member217396
Participant
0 Kudos

Hi George,

no I didn not as I'm not the admin, and don't have access tu such configuration ...

But this would mean, we have to have 2 different extension files, or what's the idea? The additional menu is defined in the extension file.

Regards,

Rafael

GeorgeMcGeachie
Active Contributor
0 Kudos

Sorry, I didn't realise you were referring to custom menus. The repository properties you want to access are in the metamodel, though we don't seem to be able to reference most of them in an extension. The only exception is RepositoryConnection, which doesn't appear to have the attributes you need.