Page 1 of 1

On rights to delete and clear list

PostPosted: Mon Nov 14, 2016 1:58 am
by Eugene
Hello,

My Vicidial version (see the signature below) does allow administrator to delete a list if he has 'Delete List' right and 'User Level' >=8.
At the same time administrator must have 'Delete List', 'Modify List', 'Modify Leads' rights and 'User Level' = 9 to clear a list.

I've found it to be inconsistent with our administrators skills :shock: They are persistent in deleting instead of clearing lists.

It was easy to modify admin.php to allow deleting lists to level 9 users only and clearing lists to level 8 users. The question is not to ruin anything and stay on the safe side...

Do you know if that was done on a purpose and what was the purpose?

Thank You,
Gene

Re: On rights to delete and clear list

PostPosted: Mon Nov 14, 2016 2:08 am
by williamconley
Clear list is a more recent feature. If you believe clear = delete for permissions, you could put an entry in the Vicidial Issue Tracker with a DIFF of your changes, and a link back here in this post for reference. If The Vicidial Group agrees with you, it'll get done (eventually).

If you want it changed in the core sooner, you could probably sponsor it (and your future upgrades would not break that feature, requiring that you re-patch each time).

Re: On rights to delete and clear list

PostPosted: Mon Nov 14, 2016 6:36 am
by mflorell
Clear List was added at the request of a client, and they wanted the option only open to level 9 administrators. As for changing Delete List to only be for level 9 admins, we could add a system setting to make that change, like we did for Level 8 Disable Add:


Level 8 Disable Add -This setting if enabled will prevent any level 8 user from adding or copying any record in the system, no matter what their user settings are. Excluded from these restrictions are the ability to add DNC and Filter Phone Groups numbers and the Add a New Lead page. Default is 0 for disabled.


Would you want this feature only for lists, or for deletion of all records?

Re: On rights to delete and clear list

PostPosted: Mon Nov 14, 2016 8:13 am
by Eugene
Thank you for clarification!

I just was surprised to find out that 'Clear List' function was better guarded by userlevel=9 than 'Delete List' function :) and was unaware of an underlying reason.

We gave our limited administrators list management rights excluding list deletions hence the question.

IMHO it would be nice to associate 'Clear List' function with 'Modify List' and/or 'Modify Leads' user privilege just like 'Delete List' function is associated with 'Delete List' privilege.

Regards,
Gene