diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-12-13 10:48:13 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-12-13 10:48:13 +0000 |
commit | b53b5ba18f35014570af5696e6e9794be84655b7 (patch) | |
tree | 36f8a2510e05eb8d561ff9a702d91d298d0492b2 | |
parent | be805c5e8abd50f0fde2fe0af6bcca5850afc742 (diff) |
auth: adjust some permissions
-rw-r--r-- | lib/rbot/core/auth.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rbot/core/auth.rb b/lib/rbot/core/auth.rb index 175d2153..f6f4a125 100644 --- a/lib/rbot/core/auth.rb +++ b/lib/rbot/core/auth.rb @@ -954,14 +954,15 @@ auth.map "permissions set *args", auth.map "permissions reset *args",
:action => 'auth_edit_perm',
- :auth_path => ':edit::reset:'
+ :auth_path => ':edit::set:'
auth.map "permissions view [for :user]",
:action => 'auth_view_perm',
:auth_path => '::'
auth.map "permissions search *pattern",
- :action => 'auth_search_perm'
+ :action => 'auth_search_perm',
+ :auth_path => '::'
auth.default_auth('*', false)
|