Hi there!
Is it possible to prevent that user can delete the "purgewhenfull" Filter. Or is it possible to block the filter button for all users?
Thx,
biologisch
Prevent that user can delete filter purgewhenfull
- biologisch
- Posts: 96
- Joined: Fri Aug 24, 2007 10:37 am
Prevent that user can delete filter purgewhenfull
ZM Versions = 1.36.33
zmeventnotification Version = "6.1.28"
zmeventnotification Version = "6.1.28"
-
- Posts: 38
- Joined: Tue Sep 18, 2012 2:00 pm
Re: Prevent that user can delete filter purgewhenfull
You should be able to give them the permission "None" to System and that should prevent users from removing filters
- biologisch
- Posts: 96
- Joined: Fri Aug 24, 2007 10:37 am
Re: Prevent that user can delete filter purgewhenfull
Hi!
Thanks for your quick response but thats not the right way. The user can delete it without "system" permissions.
Greets,
biologisch
Thanks for your quick response but thats not the right way. The user can delete it without "system" permissions.
Greets,
biologisch
ZM Versions = 1.36.33
zmeventnotification Version = "6.1.28"
zmeventnotification Version = "6.1.28"
-
- Posts: 38
- Joined: Tue Sep 18, 2012 2:00 pm
Re: Prevent that user can delete filter purgewhenfull
Ok, then maybe I was mistaken, I have created read-only users on my system that can view events and execute filters and the like, but can not delete, archive or remove or create filters. I have the following permissions set on these users and they do not have the "Save" or "Delete" buttons on the filters menu:
Enabled: yes
Stream: View
Events: View
Control: None
Monitors: View
System: None
Bandwidth: High (local users)
They have the filter button (no way to remove it) but they can not delete or modify the filters
Enabled: yes
Stream: View
Events: View
Control: None
Monitors: View
System: None
Bandwidth: High (local users)
They have the filter button (no way to remove it) but they can not delete or modify the filters
- biologisch
- Posts: 96
- Joined: Fri Aug 24, 2007 10:37 am
Re: Prevent that user can delete filter purgewhenfull
I get it!
Search in .../skins/classic/views/console.php
Search in .../skins/classic/views/console.php
replace with<?= makePopupButton( '?view=filter&filter[terms][0][attr]=DateTime&filter[terms][0][op]=%3c&filter[terms][0][val]=now', 'zmFilter', 'filter', $SLANG['Fil
ters'], canView( 'Events' ) ) ?>
<?= makePopupButton( '?view=filter&filter[terms][0][attr]=DateTime&filter[terms][0][op]=%3c&filter[terms][0][val]=now', 'zmFilter', 'filter', $SLANG['Fil
ters'], canView( 'System' ) ) ?>
ZM Versions = 1.36.33
zmeventnotification Version = "6.1.28"
zmeventnotification Version = "6.1.28"
-
- Posts: 38
- Joined: Tue Sep 18, 2012 2:00 pm
Re: Prevent that user can delete filter purgewhenfull
hmm looks like you just changed it from a "Event" group to a "System" group for that button. Pretty good thinking (probably where it should have been to begin with)