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

Approved Users #9

Open
jfredett opened this issue Jul 22, 2012 · 1 comment
Open

Approved Users #9

jfredett opened this issue Jul 22, 2012 · 1 comment
Labels

Comments

@jfredett
Copy link
Contributor

There should be a list of "Approved Users" for whom certain commands are allowed. There should therefore be a UserCapability class which supports a approved_user? class method, so that when I pass a nickname into the #approved_user? method, it returns true if the user is approved, false otherwise.

@colwem
Copy link
Contributor

colwem commented Jul 24, 2012

The ChannelChanger plugin has a UserRole class that implements this. It should probably be refactored though.

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

No branches or pull requests

2 participants