nvflare.security.security module¶
- class CommandCategory[source]¶
Bases:
object- DOWNLOAD_JOB = 'download_job'¶
- MANAGE_JOB = 'manage_job'¶
- OPERATE = 'operate'¶
- SHELL_COMMANDS = 'shell_commands'¶
- VIEW = 'view'¶
- class EmptyAuthorizer[source]¶
Bases:
AuthorizerBase class containing the authorization policy.
- authorize(ctx: AuthzContext) Tuple[bool, str][source]¶
- class FLAuthorizer(for_org: str, policy_config: dict)[source]¶
Bases:
AuthorizerSystem-wide authorization class.
Examine if a user has certain rights on a specific site based on authorization.json file.