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

Capability #136

Open
nachoan opened this issue Sep 21, 2014 · 0 comments
Open

Capability #136

nachoan opened this issue Sep 21, 2014 · 0 comments

Comments

@nachoan
Copy link

nachoan commented Sep 21, 2014

Hi,

I am not sure if you did a change of capability, in that case I have nothing to say. However I need that someone different from Admin role can change things on the appearence. Is right if I change this line in settings.php file?

if (has_capability('moodle/site:config', context_system::instance())) {

instead of

//if (is_siteadmin()) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant