Update the entire with keyword arguments. Update the views to comply with MERC 6 by returning error 404 on access failure. API are untouched. Add icon to the ACL delete button. Add additional view tests. Use the new filtered choice form to display a select2 enabled role selection widget. Update the ACL creation view to not redirect to an existing ACL in case of duplication but to instead stop and display an error with a suggestion to the user to instead edit the existing ACL. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
11 lines
345 B
Python
11 lines
345 B
Python
from __future__ import absolute_import, unicode_literals
|
|
|
|
from mayan.apps.appearance.classes import Icon
|
|
|
|
icon_acl_delete = Icon(driver_name='fontawesome', symbol='minus')
|
|
icon_acl_list = Icon(driver_name='fontawesome', symbol='lock')
|
|
icon_acl_new = Icon(
|
|
driver_name='fontawesome-dual', primary_symbol='lock',
|
|
secondary_symbol='plus'
|
|
)
|