package
4.4.10
Repository: https://github.com/pydio/cells.git
Documentation: pkg.go.dev

# Functions

AccessListForLockedNodes builds a flattened node list containing all currently locked nodes.
AccessListFromContextClaims uses package function to compile ACL and Workspaces for a given user ( = list of roles inside the Claims).
AccessListFromRoles loads the Acls and flatten them, eventually loading the discovered workspaces.
AccessListFromUser loads roles for a given user, by name or UUID, and subsequently calls AccessListFromRoles.
AccessListLoadFrontValues loads all ACLs starting with actions: and parameters: for the current list of ordered roles.
BulkReadDefaultRights matches ROOT_GROUP ACLs and set them as Workspace Attributes "DEFAULT_RIGHTS".
No description provided by the author
CheckContentLock finds if there is a global lock registered in ACLs.
CheckDefinedRootsForWorkspace reads roots from tree service.
ClearCachedPolicies empties local cache.
ExtractDefaultRights loads known workspace attributes, extract defaultRights and quotaValue as strings and remove them from the attributes map.
No description provided by the author
No description provided by the author
FrontValuesScopesFromWorkspaceRelativePaths computes scopes to check when retrieving front plugin configuration, based on a list of N.AppearsIn workspaces descriptions.
FrontValuesScopesFromWorkspaces computes scopes to check when retrieving front plugin configuration.
No description provided by the author
GetACLsForRoles compiles ALCs for a list of roles.
GetACLsForWorkspace compiles ACLs list attached to a given workspace.
GetRoles Objects from a list of role names.
GetRolesForUser loads the roles of a given user.
GroupExists finds a group by its full path.
No description provided by the author
IsUserLocked checks if the passed user has a logout attribute defined.
LoadRootNodesForWorkspaces finds all root nodes based on the ACLs.
No description provided by the author
ManageDefaultRights either read or write default rights by transforming ACLs into workspace attributes back and forth.
NewAccessList creates a new AccessList.
NewLockSession creates a new LockSession object.
No description provided by the author
PolicyContextFromMetadata extracts metadata directly from the context and enriches the passed policyContext.
PolicyContextFromNode extracts metadata from the N and enriches the passed policyContext.
PolicyRequestSubjectsFromClaims builds an array of string subjects from the passed Claims.
PolicyRequestSubjectsFromUser builds an array of string subjects from the passed User.
No description provided by the author
SearchUniqueUser provides a shortcurt to search user services for one specific user.
SearchUniqueWorkspace is a wrapper of SearchWorkspace to load a unique workspace.
StoreRootNodesAsACLs transforms a list of RootNodes into a list of ACL and store them.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AccessList is a merged representation of all ACLs that a user has access to.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SimpleRight is a tool struct to compute SimpleRight strings.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
PolicyResolver implements the check of an object against a set of ACL policies.
VirtualPathResolver must be able to load virtual nodes based on their UUID.
WsLoader is resolver for loading workspaces by their UUIDs.