Skip to main content
1-Visitor
Mar 9, 2016 9:17 AM UTC
Solved

Disable the import plan option in product manager profile

I have to disable the option of Import Plan for a particular role/user in a Project created by me.  I tried doing it using Policy Administration, but could not do it. Please let me know how to do.

prathiAnswer
1-Visitor
Apr 1, 2016 4:51 AM UTC

Hi,

To solve this we wrote a validator and defined the roles these itself. It worked. 

12 replies

23-Emerald II
Mar 9, 2016 3:50 PM UTC

Prasad,

I took a look at the validator code used to determine if Import Plan should be enabled in the menu. It checks whether or not the user has Modify permission in the Project's /System domain on the Plan object. I created the following permission on my system and it disabled the action for that user:

3-9-2016 9-46-17 AM.jpg

3-9-2016 9-47-52 AM.jpg

You can use a regular Deny, rather than an Absolute Deny, on the Modify permisssion, too. I just used Absolute Deny for testing to make sure that it would definitely get applied.

Translate
prathi1-VisitorAuthor
1-Visitor
Mar 10, 2016 5:12 AM UTC

Lori,

I tried using the solution you gave but still, i did not get the solution. Have look at these screenshots.P1.PNGP2.PNGP3.PNGP4.PNG

I tried Giving Deny/Absolutely Deny to Modify only but it did not worked, then i did same for all permissions except Read, doing this disabled all options which were disabled for you except Import Plan. Please check let me know if there is any mistake in what i did.

Translate
23-Emerald II
Mar 10, 2016 4:17 PM UTC

Prasad,

Can you enable access control logging and post the log for this:

1. As site admin user go to Site > Utilities > Server Status > Monitoring Tools > Log Levels

2. Right before you are ready to load the plan page as the demo user set the wt.access logger level to ALL

3-10-2016 10-04-36 AM.jpg

3. As the demo user load the project plan page and display the menu

4. As the site admin user set the logger level back to ERROR on the Log Level page.

5. Collect the Method Server log and attach it here.

Translate
prathi1-VisitorAuthor
1-Visitor
Mar 11, 2016 12:05 PM UTC

Hi,

As required by you I have attached the Log and the Screenshot. I have tried it for a different role (Team Member) and different user (Test 3). I have made the necessary changes in ACL.

Screenshot (302).png

Translate
prathi1-VisitorAuthorAnswer
1-Visitor
Apr 1, 2016 4:51 AM UTC

Hi,

To solve this we wrote a validator and defined the roles these itself. It worked. 

Translate