Commit graph

14 commits

Author SHA1 Message Date
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
fcc18a6200 application: re-organize imports for pyramid to prepare code for speedup optimization. 2018-11-24 17:52:21 +01:00
Marcin Kuzminski
3c385f97b8 permissions: flush members of user groups permissions to clear caches.
- we could get into a state that permissions isn't changed/showed immidiatelly based on the
members of user groups which permissions we change.
2018-10-25 11:20:26 +02:00
Marcin Kuzminski
30eb0aa985 caches: flush permission caches when editing affected objects so we can reach them right after changes. 2018-07-11 13:27:17 +02:00
Marcin Kuzminski
ad4963f1d3 events: add event to catch permission changed so we can flush affected users permission caches 2018-07-09 13:01:42 +02:00
Marcin Kuzminski
83e0f60d20 permissions: fixed audit log data on user group permissions view. 2018-07-02 12:22:00 +02:00
Marcin Kuzminski
ecb77c7c3d tests: added tests for permission update views to catch obvious form errors. 2018-07-02 12:20:44 +02:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
bd6d47475c api: add consistent permissions_summary data for both user and user_groups that expose
the summary of permissions for each object.

- deprecates the 'permissions' data key for get_user
- adds a consistent way of fetching permissions summary for both objects.
2017-12-05 23:12:06 +01:00
Marcin Kuzminski
1d332c03ad pylons: fixed code and test suite after removal of pylons. 2017-11-16 18:27:09 +01:00
Marcin Kuzminski
5f9ae2ae11 pylons: remove pylons as dependency
- dependencies: bumped:
 -setuptools-scm==1.15.6
 -celery==4.1.0
 -kombu==4.1.0
 -pytz==2017.3
 -Routes==2.4.1

Removed all pylons components. Refactored the code to use only pyramid
parts
2017-11-15 13:42:54 +01:00
Marcin Kuzminski
116099638b apps: switch import of ADMIN_PREFIX from routing into base app.
- routing is deprecated and will be soon removed
2017-11-07 14:17:26 +01:00
Marcin Kuzminski
bcac21cb46 user-groups-audit: properly register add/delete members on main
edit screen for user group. ref #5390
2017-09-20 17:14:55 +02:00
Marcin Kuzminski
a8abeb0d1c user-groups: rewrote the app to pyramid
- added new event data with added/removed/changed permissions
- cleanup code and spelling
2017-08-31 12:47:19 +02:00