cancel
Showing results for 
Search instead for 
Did you mean: 

Showing or Hiding actions to a specific user/group on spaces

coffman
Champ in-the-making
Champ in-the-making
I have a Space called "Pending aproval",
On this space there are a group of users called "Aprovers" …

I would like that this users to show only a limited number of actions, for example an approver only must see the Aprove/reject (from simple workflow), start forum and delete.

I know how to hide actions on a space with an aspect applied to it.
But if i want to restrict actions based on groups (or users) and on space names, how can i do ????

I think i must create a new evaluator to achieve this, isn't it ??

Anyone could give me any pointings on this subject ?

Thanks in advice
1 REPLY 1

gavinc
Champ in-the-making
Champ in-the-making
You're exactly right, creating an action evaluator is exactly how you would do this.

You'll need to override the action definitions for all the effected actions and provide your own evaluator class, there are a whole bunch of examples in the org.alfresco.web.action.evaluator package.

Details on overriding actions can be found on the wiki here: http://wiki.alfresco.com/wiki/Externalised_Client_Actions