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.
Comments
Anonymous
September 15, 2015
Can we make the solution compatible with VS 2015?Anonymous
September 15, 2015
@Brian, we are not planning any updates. But, the sample code is available on github.com/.../Extracting-effective-permissions-from-TFS and we are accepting pull requests if anyone in the community has an update.Anonymous
July 21, 2018
The comment has been removed