Instead of app.uid you need to use app.user.uid
Centralized permissions system for plugins
Is there a centralized permissions system? If not, there should be.
A lot of plugins have really simple ACP pages that are often just picking what groups and users have access to certain things.
@julian Is there one? I'm gonna submit an issue on Github if not.