views:

85

answers:

0

We have customized Sharepoint rather much and added new menuoptions for items. We have different usergroups that also are members in different audiences

The matrix of menues to display or not will be based on

1) Role 2) Status of the item showing (that is part of the access rights)

How should you solve this?

I implemnted this in code behind so the current users Menucontext contains what menues are visible for him/her + I create an interface with all menuoptions, I have a context that contains the users roles (Audiences) I create states which are different roles with different states(item open closed) => I get a rather easy code to maintain as I am follow the state pattern

but

  • it is not standard Sharepoint
  • we need a code change to change the settings (maybe can be done different)

Any suggestions....