You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Tree Access

1 reply [Last post]
Ashar's picture
User offline. Last seen 2 years 41 weeks ago. Offline
Joined: 03/26/2008
Posts: 227

Hi All,

I have a peoplecode which adds departments automatically to the department security tree. This is done using Tree class. Now we need to give this functionality to a new set of users who don't have tree/tree manager access. I'm sure tree access is given via Definition Security. I have created a Group, added it to a permission list and assigned to the users via role. Now, when the peoplecode is triggered by these users tree saving is failed. I'm not sure why? I think i'm missing something in the definition security. Can anyone help me identify what is wrong?

/Ashar

Ashar's picture
User offline. Last seen 2 years 41 weeks ago. Offline
Joined: 03/26/2008
Posts: 227
Re: Tree Access

So stupid of me.. ;)
I figured it out. The group should be added to the primary permission list of the user.