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

Read only facade check #4003

Merged
merged 11 commits into from Feb 5, 2016
Merged

Conversation

howbazaar
Copy link
Contributor

When an environment user has only read access to the environment, the apiserver adds an extra method lookup filter.

The read only check has been kept quite separate from the user lookup as the read only code will also be used for model migrations.

// At this stage, any facade that is part of the restricted root
// (those that are accessable outside of environments) are OK
// because the user would have access to those facades if the went
// through the controller API endpoint rather than an environme
Copy link

Choose a reason for hiding this comment

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

sentence incomplete

@mjs
Copy link

mjs commented Dec 20, 2015

LGTM!

@howbazaar
Copy link
Contributor Author

$$merge$$

@jujubot
Copy link
Collaborator

jujubot commented Feb 5, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

jujubot added a commit that referenced this pull request Feb 5, 2016
Read only facade check

When an environment user has only read access to the environment, the apiserver adds an extra method lookup filter.

The read only check has been kept quite separate from the user lookup as the read only code will also be used for model migrations.
@jujubot jujubot merged commit 0296a83 into juju:master Feb 5, 2016
@howbazaar howbazaar deleted the read-only-facade-check branch February 5, 2016 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants