Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ma/add read only group #163

Closed
wants to merge 2 commits into from
Closed

Ma/add read only group #163

wants to merge 2 commits into from

Conversation

stevendanna
Copy link
Contributor

From @manderson26 in chef-boneyard/oc_erchef#99:

Here's a quick hack to add read only groups. WIP, Needs pedant tests and probably some migration tooling to coerce existing orgs into having this group.

@@ -96,6 +96,12 @@
{add_acl, [mk_tl(container, [groups, containers]), {organization}], [read], [{group, users}]},
{add_acl, [{container, sandboxes}], [create], [{group, users}]},

%% read only users
{add_acl,
[mk_tl(container, [cookbooks, data, nodes, roles, environments, policies, cookbook_artifacts, clients, groups, containers])],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need policy_groups here as well?

@stevendanna
Copy link
Contributor Author

@chef/lob I think we are likely to have a release with a number of ACL policy changes in the near future. It might be nice to get this in as well for that release and then we can put together a blog post with the policy changes and why we made them.

Overall I like this idea. I've left a few comments. Are we going to want to do a mover migration as well to add such a group to existing organizations?

@stevendanna
Copy link
Contributor Author

Let's get this merged. I think we can simply forgo a mover migration for now. I have some questions above re adding policyfiles to it but otherwise this looks good.

@tylercloke
Copy link
Contributor

Looks like we just have a few issues you brought up on this? Still need pedant tests?

@marcparadise
Copy link
Member

Is this still relevant with the read-only changes that landed a little while back?

@markan
Copy link
Contributor

markan commented Jan 19, 2017

I'll take on looking at this after we sort out the #886 work

@stevendanna
Copy link
Contributor Author

I'm going to to close this out as it is very old. I'll leave the branch in place. Anyone should feel free to resubmit it if they have time to rebase it make make sure it still works as expected.

@tas50 tas50 added Status: Waiting on Contributor A pull request that has unresolved requested actions from the author. and removed in progress labels Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Waiting on Contributor A pull request that has unresolved requested actions from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants