cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

How to hide or grayed out Move\Edit access control option in Documents for a particular role users

RV_10189545
2-Explorer

How to hide or grayed out Move\Edit access control option in Documents for a particular role users

RV_10189545_0-1675364316017.png

 

 

 

 

 

 

ACCEPTED SOLUTION

Accepted Solutions
avillanueva
22-Sapphire II
(To:RV_10189545)

Yes and no and depends. This should be greyed out for Guest but Members would have rights by default. Since all roles you add to the context sum up to Team Members, remember that any rights to Team Members would be applied to those added roles. So if starting with the default member rights, if you want to block a role from seeing those, you can use deny right to block them. I believe "Edit Access Control" is tied to Administrative and Move is tied to Modify rights. Obviously, you might be wanted them to check out and edit but just not move. In that case, we need a finer tool.

 

You can also customize the actions to add your own filter which would disable or hide the action based on a certain role. That might be the best option. You write your rules in that filter and apply it to those actions definition:

<objecttype name="part" class="wt.part.WTPart" resourceBundle="customization.blahblah">
       <action name="someAction">
          <description>SomeAction</description>
          <command url="/netmarkets/jsp/blahblah.jsp" windowType="popup"/>
          <includeFilter name="sandboxSharingValidationSimple"/>
          <includeFilter name="hideForNewObjectInWorkspace"/>
          <includeFilter name="hideForCheckedoutObjectInWorkspace"/>
          <includeFilter name="disableForTerminalIterationFilter"/>
      </action>
   </objecttype>

View solution in original post

1 REPLY 1
avillanueva
22-Sapphire II
(To:RV_10189545)

Yes and no and depends. This should be greyed out for Guest but Members would have rights by default. Since all roles you add to the context sum up to Team Members, remember that any rights to Team Members would be applied to those added roles. So if starting with the default member rights, if you want to block a role from seeing those, you can use deny right to block them. I believe "Edit Access Control" is tied to Administrative and Move is tied to Modify rights. Obviously, you might be wanted them to check out and edit but just not move. In that case, we need a finer tool.

 

You can also customize the actions to add your own filter which would disable or hide the action based on a certain role. That might be the best option. You write your rules in that filter and apply it to those actions definition:

<objecttype name="part" class="wt.part.WTPart" resourceBundle="customization.blahblah">
       <action name="someAction">
          <description>SomeAction</description>
          <command url="/netmarkets/jsp/blahblah.jsp" windowType="popup"/>
          <includeFilter name="sandboxSharingValidationSimple"/>
          <includeFilter name="hideForNewObjectInWorkspace"/>
          <includeFilter name="hideForCheckedoutObjectInWorkspace"/>
          <includeFilter name="disableForTerminalIterationFilter"/>
      </action>
   </objecttype>
Announcements


Top Tags