Enable support for adding a demo user #471

Merged
merged 2 commits into from Feb 17, 2015

Projects

None yet

2 participants

@laf
Member
laf commented Feb 16, 2015

Web ui now has the option to create a demo user. This user will not be able to:

Edit users
Add users
Remove devices
Change password

All other admin functions will be available to them.

@laf laf changed the title from Issue laf 118 to Enable support for adding a demo user Feb 16, 2015
@paulgear
Member

This is another great example of something that should be offloaded to a function is_admin_user or something like that.

@paulgear paulgear merged commit f47b03d into librenms:master Feb 17, 2015

1 check passed

Scrutinizer No new issues
Details
@laf
Member
laf commented Feb 17, 2015

We have is_admin(), I added that at some stage recently but haven't gone through and updated all of the checks for userlevel.

@laf laf deleted the unknown repository branch Feb 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment