diff --git a/docs/rbac/roles.rst b/docs/rbac/roles.rst index a004ae5be..cccdd4f1b 100644 --- a/docs/rbac/roles.rst +++ b/docs/rbac/roles.rst @@ -263,7 +263,7 @@ required only for syncing content, one can do the following: --permission "container.modify_content_containerrepository" \ --permission "container.sync_containerrepository" - pulp user role-assignment add --username "alice" --role "container.containerrepository_syncer" object "" + pulp user role-assignment add --username "alice" --role "container.containerrepository_syncer" --object "" Customizing Access Policies --------------------------- diff --git a/staging_docs/admin/guides/customize-roles.md b/staging_docs/admin/guides/customize-roles.md index dbcfb4cb1..88bf5f02f 100644 --- a/staging_docs/admin/guides/customize-roles.md +++ b/staging_docs/admin/guides/customize-roles.md @@ -11,7 +11,7 @@ pulp role create --name "container.containerrepository_syncer" \ --permission "container.modify_content_containerrepository" \ --permission "container.sync_containerrepository" -pulp user role-assignment add --username "alice" --role "container.containerrepository_syncer" object "" +pulp user role-assignment add --username "alice" --role "container.containerrepository_syncer" --object "" ``` Visit [Role-based Access Control](site:pulp_container/docs/admin/learn/rbac) to learn more about roles.