Commit graph

18 commits

Author SHA1 Message Date
Marcin Kuzminski
a7aeae1394 permissions: rename repository permissions to mention those are access permissions.
- Soon we'll introduce fine grained permissions for web-edit and artifacts that would require clear separation.
2019-10-09 15:01:03 +02:00
Marcin Lulek
bdc82ab735 permissions-summary: skip branch permission entries that are leaking private repository names, and fix counters. 2018-08-31 13:25:02 +02:00
Marcin Kuzminski
e41725c078 branch permissions: added logic to define in UI branch permissions.
- db models
- new permissions pages placeholders
2018-08-28 13:41:30 +02:00
Marcin Kuzminski
69a865a7a3 repo-groups: moved to pyramid 2017-10-17 14:06:51 +02:00
Marcin Kuzminski
b505377197 users: ported controllers from pylons into pyramid views. 2017-09-20 22:29:34 +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
Marcin Kuzminski
868ab0ed73 permissions: explicitly register all permissions set for user. Fixes #4217
- in order to get a proper inheritance chain of permissions we'll register each step.
This allows to get full inheritance chain. Final permissions will be the same becuase
the only thing we change is we register each step before permissions final value.
- Also display the permissions summary in a nicer way more explicitly stating what
permissions overwrites which.
2017-08-25 17:43:28 +02:00
Marcin Kuzminski
1b6730d3c3 perms: fixed html error in template 2017-08-24 22:15:08 +02:00
Marcin Kuzminski
23300965a7 perms: updated perms summary for users
- expose edit of local (user) settings and global ones
- expose the inherit flag to show if permissions are inherited
2017-08-08 17:06:58 +02:00
Marcin Kuzminski
ca4306b80b perms: use text labels about given permissions instead of potentially display icon.
- icon can be misleading becuase lack of it gives no explicit state explanation
- using True/False labels makes more sense
- this is also compliant with UI for people with disabilities.
2017-08-08 16:27:47 +02:00
Marcin Kuzminski
434aca22cf perms-summary: fix long names overflow.
- fixes #5336
2017-08-08 13:07:42 +02:00
Marcin Kuzminski
2cc3df1920 users/user_groups: ported permission summary pages into pyramid.
- added JSON views for extraction of parameters in parasable format.
2017-08-03 20:18:49 +02:00
Marcin Kuzminski
a9064c5007 translation: unified usage of pluralize function ungettext.
- now it's consistent _ungettext for pylons and pyramid
- will allow easier migration to full pyramid codebase
2017-07-24 10:00:06 +02:00
Marcin Kuzminski
ff79205313 global-permissions: ported controller to pyramid view.
- fixed some other tests cases to rely on test routing
2017-07-20 15:04:36 +02:00
Marcin Kuzminski
53b4ac98f8 repo-summary: re-implemented summary view as pyramid.
- changed exception handler, to now work in pure pyramid mode
- changed missing requirements logic on repo based views that require vcs-connection
2017-06-07 13:23:21 +02:00
Marcin Kuzminski
71fee00277 home: moved home and repo group views into pyramid.
- fixed lots of tests related to those changes
- now main and subrepo group views are handled by pyramid.
2017-06-05 15:16:04 +02:00
Marcin Kuzminski
17a42739e8 repo-permissions: moved permissions into pyramid.
- fix issues when added new perms changed those already in the form
- fixed issue with default user overriding permissions when private repos where turned on.
- Two above are not security issues, but rather making the behaviour more consistent.
2017-05-05 16:04:16 +02:00
Marcin Kuzminski
89e2586781 templating: use .mako as extensions for template files. 2017-01-04 22:13:57 +01:00
Renamed from rhodecode/templates/base/perms_summary.html (Browse further)