![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Find access rights for groups Topic Summary: Created On: 7-Feb-2007 16:15 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I want to find out the access rights for the existing groups for all the attributes in a module. This was discussed in this forum last year and the attached code was suggested. If the access rights are inherited, this code will give an output that they are inherited. But when we look at the Access Value (or Access Definition) window, we know what those access rights are for the group. |
|
![]() |
|
![]() |
|
There is a tiny bug in the script.
You just need to add "all" to the loop that gets access records for values. Using the keyword all make the loop return inherited as well as specific access records. The following has this correction. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Thanks for the quick reply, Tony. This will be a great help for me.
- Krishna |
|
![]() |
|
![]() |
|
I haven't looked at the script nor Tony's suggestion.
But it seems to me that it would be more useful if you displayed the access rights for the module, whether inherited or not, and then displayed 'inherited' or displayed nothing for those 'things' within the module that are inherited. You can easily deduce the rights for your groups for those Inherited things. This will distinquish between those rights that are Specific and those that are Inherited, something that I've always found to be very useful. I'm suggesting that its easier to "Find Waldo" in a scene featuring only a few folks, rather than in a scene featuring 100s of folks. Such a script would make use of the commands: string isAccessInherited({Object o|Project p| Folder f|Item i|View v}, bool &inherited) string isAccessInherited(Module m, [AttrType at,] bool &inherited) string isAccessInherited{Def|Val}(Module m, AttrDef ad, bool &inherited) e.g. ErrMess = isAccessInheritedDef(mod, ad, IsInherited) if (!null ErrMess) whatever elseif (!IsInherit) then dump the specific rights. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Find access rights for groups
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.