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

How to limit certain commands to admins? #192

Open
ghost opened this issue Mar 13, 2015 · 3 comments
Open

How to limit certain commands to admins? #192

ghost opened this issue Mar 13, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Mar 13, 2015

Hi,

I've been looking through the documentation but can't figure out how to limit certain commands to only admins. I.e. I don't want regular users to be able to download new scripts or install packages. Is there a way to limit certain scripts so they're only available to specific roles?

@PeteGoo
Copy link
Member

PeteGoo commented Mar 13, 2015

There's no way to do it unless the script implements it. I have been trying
to think of a way to do this generically but haven't been able to figure
out an intuitive way of doing it.

Keen to hear any ideas though
On 13 Mar 2015 21:04, "Jesper Hess Nielsen" notifications@github.com
wrote:

Hi,

I've been looking through the documentation but can't figure out how to
limit certain commands to only admins. I.e. I don't want regular users to
be able to download new scripts or install packages. Is there a way to
limit certain scripts so they're only available to specific roles?


Reply to this email directly or view it on GitHub
#192.

@ghost
Copy link
Author

ghost commented Mar 13, 2015

@PeteGoo OK so for now simply disabling them in code is the way to go...

I'll let this brew for a bit and see if I can come up with something.

@PeteGoo
Copy link
Member

PeteGoo commented Mar 13, 2015

Yeah, pretty much.

Thanks
On 13 Mar 2015 21:15, "Jesper Hess Nielsen" notifications@github.com
wrote:

@PeteGoo https://github.com/PeteGoo OK so for now simply disabling them
in code is the way to go...

I'll let this brew for a bit and see if I can come up with something.


Reply to this email directly or view it on GitHub
#192 (comment).

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