Govern Roles and Permissions#

The Role and Permissions feature in Dataiku Govern lets you control who has authorization to view, edit, delete, and/or create items in Dataiku Govern.

The Roles and Permissions Handler in the Python API is used to manage roles, role assignments, and permissions.

See also

For a conceptual understanding of roles and permissions in Dataiku Govern, visit Govern roles and permissions in the knowledge base.

Examples#

Reference documentation#

dataikuapi.govern.admin_roles_permissions_handler.GovernAdminRolesPermissionsHandler(client)

Handle to edit the roles and permissions Do not create this directly, use get_roles_permissions_handler()

dataikuapi.govern.admin_roles_permissions_handler.GovernAdminRoleListItem(...)

An item in a list of roles.

dataikuapi.govern.admin_roles_permissions_handler.GovernAdminRole(...)

A handle to interact with the roles of the instance as an admin.

dataikuapi.govern.admin_roles_permissions_handler.GovernAdminRoleDefinition(...)

The definition of a specific role.

dataikuapi.govern.admin_roles_permissions_handler.GovernAdminBlueprintRoleAssignmentsListItem(...)

An item in a list of blueprint role assignments.

dataikuapi.govern.admin_roles_permissions_handler.GovernAdminBlueprintRoleAssignments(...)

A handle to interact with the blueprint role assignments for a specific blueprint Do not create this directly, use get_role_assignments()

dataikuapi.govern.admin_roles_permissions_handler.GovernAdminBlueprintRoleAssignmentsDefinition(...)

The role assignments for a specific blueprint.

dataikuapi.govern.admin_roles_permissions_handler.GovernAdminBlueprintPermissionsListItem(...)

An item in a list of blueprint permissions.

dataikuapi.govern.admin_roles_permissions_handler.GovernAdminBlueprintPermissions(...)

A handle to interact with blueprint permissions for a specific blueprint Do not create this directly, use get_blueprint_permissions()

dataikuapi.govern.admin_roles_permissions_handler.GovernAdminBlueprintPermissionsDefinition(...)

The permissions for a specific blueprint.

dataikuapi.govern.admin_roles_permissions_handler.GovernAdminDefaultPermissionsDefinition(...)

The default permissions of the instance Do not create this directly, use get_default_permissions_definition()