In trunk.
- Deploy the latest admin
- edit file applications/admin/models/0.py and set
MULTI_USER_MODE = True
- Try access admin and it will require registration/login
- The first user to register is teacher (can see all apps)
- All other users are students (can only see/edit/create their own
apps)
This does not prevent one user from writing dangerous code. The code,
whoever creates it, always runs under the same privileged and has
access to the entire web2py folder.
At the moment students get access to each other appdmin controllers.
Please help with testing!
On Jan 4, 8:28 am, David Bain <
pigeonfli...@gmail.com> wrote:
> I like the modified admin approach, it would be simpler, for teaching
> purposes it would work, it would need to be modified for production style
> scenarios as it would not be an acceptable risk.
>