lehmannro / pyhkal2

IRC bot with bling bling
7 stars 2 forks source link

admin must expose admin verification for other modules #14

Open lehmannro opened 14 years ago

lehmannro commented 14 years ago

pyhkal.contrib.admin should provide a decorator to flag a function against unwarranted access from non-admins. Such functionality is needed often enough to justify a clean, generic decorator but not key enough to include it in the core.