yogiben / meteor-admin

A complete admin dashboard solution
https://atmospherejs.com/yogiben/admin
GNU General Public License v3.0
826 stars 263 forks source link

Determine admin by role #382

Open khanetor opened 7 years ago

khanetor commented 7 years ago

Currently the admins are defined in a list adminEmails, which is not flexible. Instead I think a function to resolve an admin role (return Boolean) is better. This way we can promote a user to admin without changing the code, or update config and restart.