Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data HierarchicalPrincipal Source #
Information to define the hierarchy for which documents users should have access to.
See: newHierarchicalPrincipal
smart constructor.
HierarchicalPrincipal' | |
|
Instances
newHierarchicalPrincipal :: HierarchicalPrincipal Source #
Create a value of HierarchicalPrincipal
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:principalList:HierarchicalPrincipal'
, hierarchicalPrincipal_principalList
- A list of
principal
lists that define the hierarchy for which documents users should have
access to. Each hierarchical list specifies which user or group has
allow or deny access for each document.
hierarchicalPrincipal_principalList :: Lens' HierarchicalPrincipal [Principal] Source #
A list of principal lists that define the hierarchy for which documents users should have access to. Each hierarchical list specifies which user or group has allow or deny access for each document.