Commit Graph

47 Commits

Author SHA1 Message Date
Nicolas Roche 69ec66052f manager: allow role slug edition (#46656) 2020-10-09 11:23:15 +02:00
Nicolas Roche 233b289139 manager: correct model field on tables (#47408) 2020-10-09 11:21:18 +02:00
Nicolas Roche 03f2b80a98 manager: allow ou slug edition (#46655) 2020-10-09 11:19:15 +02:00
Nicolas Roche 14f37aeedd manager: add a page to manage users authorized services (#46182) 2020-09-29 11:55:32 +02:00
Valentin Deniaud fa80828407 manager: replace "is_active" column by an explicit mention (#45337) 2020-08-03 12:59:03 +02:00
Frédéric Péters 757b823236 manager: replace "verified email" column by a checkmark next to email (#45335) 2020-07-27 14:53:44 +02:00
Benjamin Dauvergne 4ede4af066 manager: show indirect members of roles real roles (#44927) 2020-07-13 15:16:56 +02:00
Valentin Deniaud 0d8ea42ad2 manager: forbid changing role members when synced from ldap (#37187) 2020-06-02 12:04:02 +02:00
Frédéric Péters 870ab13f79 misc: mark template-in-code string for translation (#32794) 2019-09-04 15:18:54 +02:00
Benjamin Dauvergne 9fbbf0519a spring cleaning (#32934)
* reorganize views and forms
* add copyright headers to all .py files
* fix all style errors reported by flake8
2019-05-14 16:19:25 +02:00
Valentin Deniaud 14361e000b manager: remove some unused code (#31222) 2019-03-18 16:55:53 +01:00
Emmanuel Cazenave db9b9028b1 django 1.11: ensure compatibility with recent django-tables2 (#21489)
django-tables2 1.1 is not compatbible with django 1.11
In recent version of django-tables2 'row' is not available in
the context of TemplateColumn, so we use direclty 'record'
(instead of 'row.record').
2018-08-12 20:11:31 +02:00
Frédéric Péters acc2b3d2ba manage: never allow sorting by "via" (#21210) 2018-01-16 22:59:08 +01:00
Benjamin Dauvergne d78b6e1e71 manager: rename column "Member count" to "Direct member count" (fixes #16948) 2017-10-12 18:37:04 +02:00
Benjamin Dauvergne b6c96aa8b4 manager: show link to user in user's table only if user has a view permission on the object (#18901) 2017-09-21 17:35:11 +02:00
Benjamin Dauvergne e5b03135cc custom_user: add an email_verified field (fixes #17554) 2017-07-13 09:24:21 +02:00
Frédéric Péters e5fc8e7444 manager: update access control empty label to be meaningful (#16795) 2017-06-11 13:50:58 +02:00
Frédéric Péters ea5d3a71ef manager: order services by organization unit first (#13942) 2016-11-28 18:58:28 +01:00
Frédéric Péters 718c09c792 manager: order rows in services table (#12499) 2016-07-25 15:00:35 +02:00
Benjamin Dauvergne d6b2a18068 allow ordering user's roles table by the member column (fixes #9662) 2016-01-19 10:24:31 +01:00
Benjamin Dauvergne 3b9a21222b manager: columns "via" and "member" of OuUserRolesTable are not orderable 2015-10-25 10:13:37 +01:00
Benjamin Dauvergne eda42ff95d update french l10n 2015-10-13 20:36:41 +02:00
Benjamin Dauvergne f88377126a manager: modify label of link column in user's table (#8280) 2015-09-22 09:58:13 +02:00
Benjamin Dauvergne 9fe47fc925 manager: modify ou edit form (#8280)
- removed slug field
- renamed name field label to "Label"
2015-09-18 16:25:52 +02:00
Benjamin Dauvergne 79c7ce2216 manager: align role's members table on users' table (#8280) 2015-09-18 16:25:52 +02:00
Benjamin Dauvergne 25cb90758c manager: improve UI and especially the one for user's roles management (#8280)
- default to show user's roles form her ou';
- when an ou is selected all roles of this ou are shown,
  and selection is done through checkboxes instead of a django-select2
  selector (fixes #8140)
- all search forms are now ajax loaded (but the search button has been kept,
  in case..), for free text search loading starts 600ms after the last user
  keypress (no need to leave the input field),
- when a role is inherited but the user is not directly a member of it, an
  indeterminate checkbox representation is used;
- proper history is maintained for the browser back button to work,
  even the state of the search form is restored; it also improves navigation
  using the pagination links (which were already loaded using ajax),
2015-09-17 13:56:46 +02:00
Benjamin Dauvergne 999b292550 manager: change verbose name of members_counts in roles tables to "member count" (#8280) 2015-09-17 13:56:46 +02:00
Benjamin Dauvergne 06e2383003 manager: remove service column from roles tables (#8141) 2015-09-17 13:56:46 +02:00
Benjamin Dauvergne 60168af86d manager: rename roles table name column to "label" (#8280) 2015-09-17 13:56:46 +02:00
Benjamin Dauvergne 2c74ed7080 manager: order user table by user name by default (#8280) 2015-09-17 13:56:46 +02:00
Benjamin Dauvergne 55a7cea95c manager: reorder columns of the user table (#8280) 2015-09-17 13:56:46 +02:00
Benjamin Dauvergne 83d966088c manager: remove date joined column (#8280) 2015-09-17 13:56:46 +02:00
Benjamin Dauvergne fd3763faa7 manager: replace user table link on uuid by a link on full name (#8280) 2015-09-17 13:56:46 +02:00
Benjamin Dauvergne 6e2b499dc7 manager: change accessor of name LinkColumn of role tables (fixes #8013)
Using `name` instead of `__unicode__` helps django-tables2 into infering
the sorting field for this column.
2015-08-06 10:28:00 +02:00
Benjamin Dauvergne de242f5c81 manager: add empty_text meta option to all tables (fixes #7734)
When search return an empty queryset, django-tables2 should show the
"None found" string for all tables.
2015-07-03 11:53:45 +02:00
Benjamin Dauvergne 6c7c4ba9eb Make links of all first table's column in the manager (fixes #7594) 2015-06-23 15:59:17 +02:00
Benjamin Dauvergne dc34b3e8b8 Fix ordering by service in the user's roles table (fixes #7634) 2015-06-23 15:10:43 +02:00
Benjamin Dauvergne 846c423fbd manager: add date joined to user table (fixes #7573) 2015-06-17 10:55:35 +02:00
Benjamin Dauvergne cec723fe99 manager: start implementing service management views (#5541)
They give access to service roles management.
2015-05-27 02:16:05 +02:00
Benjamin Dauvergne 1bac9c8a3b manager: improve users management views
- separate user's roles management in a specific view
- improve form display everywhere
- add a reset on next login checkbox to the user add form

fixes #7339
2015-05-22 17:01:26 +02:00
Benjamin Dauvergne 2a11a6a830 manager: use Role.is_direct() instead of Role.direct field (#7339) 2015-05-22 17:01:26 +02:00
Benjamin Dauvergne d9d0547189 manager/css: truncate uuid column using CSS instead of doing it server side
fixes #7336
2015-05-22 17:01:26 +02:00
Benjamin Dauvergne a44c2e0022 manager: remove group management
fixes #7334
2015-05-22 17:01:26 +02:00
Benjamin Dauvergne a161704daf manager: simplify RoleTable.name and fix ordering for RoleTable.service
fixes #7307
2015-05-20 17:08:27 +02:00
Benjamin Dauvergne 25ad9166a1 manager: rewrite manager using RBAC for authorization and limiting view of models
Also add page to manage organizational units and roles.

fixes #6143
fixes #751
2015-05-18 22:22:45 +02:00
Benjamin Dauvergne 118d90424e manager: add uuid to user table's columns 2015-04-24 12:07:55 +02:00
Benjamin Dauvergne 2949cfe390 Move authentic2 into src/ 2015-02-15 23:46:24 +01:00