Claudio DeSouza
2018-12-03 12:31:53 UTC
Hi,
I'm trying to set up a sandbox namespace for user, very similar to what is
suggested in the following
link: https://review.openstack.org/Documentation/access-control.html#_project_access_control_lists
Basically, I'm trying to provide users their own namespace under
"refs/heads/sandbox/${username}/*" where they can do whatever they want.
The problem I'm running into, is that I'm no able to put the username alias
on the entry lines for the sandbox. For instance, if I use admin as a user,
I get the following changes.
groups:
+user:admin user/Gerrit Admin (admin)
project.config:
[access "refs/heads/sandbox/${username}/*"]- exclusiveGroupPermissions = create push pushMerge read+ exclusiveGroupPermissions = create push read+ create = group user/Gerrit Admin (admin)+ push = group user/Gerrit Admin (admin)+ read = group user/Gerrit Admin (admin)
I was think of manually editing that to ${username}, but I'm afraid that
might not work due to no referencing being made on the groups file.
May I please have some clarification in how to constrain this namespace to
with ${username}.
Regards,
Claudio DeSouza
I'm trying to set up a sandbox namespace for user, very similar to what is
suggested in the following
link: https://review.openstack.org/Documentation/access-control.html#_project_access_control_lists
Basically, I'm trying to provide users their own namespace under
"refs/heads/sandbox/${username}/*" where they can do whatever they want.
The problem I'm running into, is that I'm no able to put the username alias
on the entry lines for the sandbox. For instance, if I use admin as a user,
I get the following changes.
groups:
+user:admin user/Gerrit Admin (admin)
project.config:
[access "refs/heads/sandbox/${username}/*"]- exclusiveGroupPermissions = create push pushMerge read+ exclusiveGroupPermissions = create push read+ create = group user/Gerrit Admin (admin)+ push = group user/Gerrit Admin (admin)+ read = group user/Gerrit Admin (admin)
I was think of manually editing that to ${username}, but I'm afraid that
might not work due to no referencing being made on the groups file.
May I please have some clarification in how to constrain this namespace to
with ${username}.
Regards,
Claudio DeSouza
--
--
To unsubscribe, email repo-discuss+***@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
To unsubscribe, email repo-discuss+***@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.