Extracting effective permissions from TFS - sample update v1.2
The team is happy to announced an update of the Extracting effective permissions from TFS whitepaper and sample.
where are the bits?
RELEASE V1.2 | WHITEPAPER | SAMPLE ZIP
what has changed?
Whitepaper
- No changes.
Sample Code
- Fixed bugs
- Root area permissions are missing.
- Root iteration permissions are missing.
- Refactoring
- Replaced the hardcoded SecurityNamespaces Id with dynamically retrieved available SecurityNamespaces in ISecurityService Object using GetSecurityNamespaces() method.
- Replaced the hardcode security actions with dynamically retrieved actions from SecurityNamepace usingĀ SecurityNamespaceDescription.Actions property.
- Created a generic method (AccessControlEntryToPermission) to handle the conversion of AccessControlEntry to Permission object and check the permission dynamically against ActionDefinition.Bit and removed duplicate handling per each SecurityNamespace.
- Moved couple of methods to the Helpers class.
- Replaced the hardcoded SecurityNamespaces Id with dynamically retrieved available SecurityNamespaces in ISecurityService Object using GetSecurityNamespaces() method.
- Permission report sample
please send candid feedback!
We need your candid feedback. Here are some ways to connect with us:
- Add a comment below.
- Contact us on our blog.