SecurityRoles¶
SecurityRoles (namespace SAIF.Core.Contracts.Groups.Notes) declares the Groups notes AD resource-name constants; EditRole, DeleteRole, and ConfidentialRole are referenced only by NoteService.cs, which is excluded from the SAIF.Services build (not compiled), while ViewRole has no reference anywhere in the repository — see Security and authorization for the full catalog, enforcement coverage, and tech-debt findings across all 16 constants in this library.
Purpose¶
- Declares the Groups notes AD resource-name constants;
EditRole,DeleteRole, andConfidentialRoleare referenced only by the excluded, uncompiledNoteService.cs, whileViewRoleis unreferenced anywhere in the repository — see Security and authorization for the full 16-constant catalog, enforcement coverage, and tech-debt findings.
Context¶
- Namespace:
SAIF.Core.Contracts.Groups.Notes - Kind: Class
- Assembly/package:
SAIF.Core(NuGet packageSAIF.SAIFCode.Core)
Public members¶
| Member | Signature | Purpose |
|---|---|---|
ViewRole |
public const string ViewRole = "GroupNotePadView"; |
Named constant value ("GroupNotePadView")*. |
EditRole |
public const string EditRole = "GroupNotePadEdit"; |
Named constant value ("GroupNotePadEdit")*. |
DeleteRole |
public const string DeleteRole = "GroupNotePadDelete"; |
Named constant value ("GroupNotePadDelete")*. |
ConfidentialRole |
public const string ConfidentialRole = "GroupNotePadConfidential"; |
Named constant value ("GroupNotePadConfidential")*. |
Behavioral notes¶
- The environment suffix (
Resource/TestResource) is not part of the literal constant value; it is appended at runtime by the externalIUserProfileService/ISaifUserProfileauthorization check*.
Note: Statements marked with
*were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with**could not be confirmed; treat as unknown until verified.
Sources¶
- Core/SAIF.Core/Contracts/Groups/Notes/SecurityRoles.cs