Commit Graph

2879 Commits

Author SHA1 Message Date
René Pfeuffer
84ae5646a4 Fix bug for repository owners without global role permission
Repository owners got an frontend error when they hat no permission to
read the global repository roles. We therefore remove the dedicated
permission to read repository.

Additionally we fix the 'write' permission to match the entry in the
'permissions.xml' file.
2019-05-31 10:20:44 +02:00
Sebastian Sdorra
ecbc7b67e6 Merged in feature/migration (pull request #249)
Feature migration
2019-05-23 15:04:37 +00:00
Sebastian Sdorra
9abafb5354 use PluginLoader instead of DefaultPluginLoader and split large contextInitialized method 2019-05-23 15:45:58 +02:00
René Pfeuffer
be9ce826dc Move further listener modules to bootstrap module 2019-05-21 09:13:49 +02:00
René Pfeuffer
af468898b9 Reject permission requests with missing permissions 2019-05-20 14:30:57 +02:00
René Pfeuffer
ca36a0a5f4 Move event bus module to bootstrap context 2019-05-20 14:26:10 +02:00
René Pfeuffer
dad8ea5fa1 Merge with 2.0.0-m3 2019-05-20 08:51:59 +02:00
René Pfeuffer
510ea51e76 Fix unit test 2019-05-16 13:06:08 +02:00
Rene Pfeuffer
e34781789d Set role instead of collection of verbs for repository owner 2019-05-16 12:12:46 +02:00
René Pfeuffer
561b56338a Remove redundant binding 2019-05-15 15:52:45 +02:00
René Pfeuffer
4f6ec5a86f Bind plugin loader in bootstrap module 2019-05-15 15:05:35 +02:00
René Pfeuffer
ed7c2a01e7 Log steps for updates 2019-05-15 13:29:50 +02:00
René Pfeuffer
93dbaeae7c Run update steps only if they have not been run before 2019-05-14 15:52:05 +02:00
René Pfeuffer
bafc8ea668 Execute updates in order 2019-05-14 14:45:12 +02:00
René Pfeuffer
4e2ac426a0 Rename migration -> update 2019-05-14 14:17:11 +02:00
René Pfeuffer
46b1bb8869 Find update steps and execute them with bootstrap context 2019-05-14 14:12:08 +02:00
René Pfeuffer
bcd249a332 Cleanup modules 2019-05-14 11:54:25 +02:00
René Pfeuffer
58dcdaa24d Cleanup code 2019-05-14 11:19:45 +02:00
René Pfeuffer
02ee9425e0 Do not bind repository dao in bootstrap module 2019-05-14 11:17:45 +02:00
René Pfeuffer
a83e2813a3 Fix path computation and resolving 2019-05-10 13:26:06 +02:00
Eduard Heimbuch
e0ab70591a fix Tests 2019-05-10 13:23:41 +02:00
Eduard Heimbuch
7fa2898420 throw Exception when modify repo-role type 2019-05-10 13:23:01 +02:00
Eduard Heimbuch
a26f86d545 fix repositoryRole systemrole check 2019-05-10 09:29:38 +02:00
Eduard Heimbuch
163cdf7a6b update RepositoryRole-Model 2019-05-10 09:28:17 +02:00
René Pfeuffer
7f4792ec49 Remove PathBasedRepositoryDAO
The computation of the file path for the repository is done by
RepositoryLocationResolver.
2019-05-10 08:06:36 +02:00
René Pfeuffer
c44d38cc61 Introduce abstraction for repository location 2019-05-09 14:08:18 +02:00
René Pfeuffer
d29fa32c8e First steps to create a bootstrap module for data migration 2019-05-09 10:36:27 +02:00
René Pfeuffer
798eb5a846 Replace wrong endpoint for repository roles with endpoint for verbs 2019-05-09 09:45:33 +02:00
René Pfeuffer
1981e9fb03 Add permission for repository roles 2019-05-08 13:14:39 +02:00
René Pfeuffer
61844b917d Use camelCase for url 2019-05-08 12:36:41 +02:00
René Pfeuffer
6f1f74b208 Fix repository role manager 2019-05-08 12:36:22 +02:00
René Pfeuffer
c88654739b System roles should not be modifiable 2019-05-08 10:55:24 +02:00
René Pfeuffer
dd312308fa Add system roles to repository role REST resource 2019-05-08 10:13:01 +02:00
René Pfeuffer
5eb074dde2 Add index link for repository roles 2019-05-08 09:34:57 +02:00
René Pfeuffer
de59f5657f Remove duplicate verbs 2019-05-07 15:20:54 +02:00
René Pfeuffer
c5b20566c1 Fix bugs with integration test 2019-05-07 09:20:19 +02:00
René Pfeuffer
8645890758 Cleanup 2019-05-06 16:45:35 +02:00
René Pfeuffer
45ca558101 Get verbs from repository roles 2019-05-06 16:01:01 +02:00
René Pfeuffer
e4e335b7e1 Validate repository roles 2019-05-06 15:12:58 +02:00
René Pfeuffer
96e7a29dce Add unit test for role resource 2019-05-06 14:49:37 +02:00
René Pfeuffer
76b9100e7e Add endpoint for repository roles (tests pending) 2019-05-03 17:44:27 +02:00
René Pfeuffer
7a2166a365 Bind repository role dao 2019-05-03 16:30:50 +02:00
René Pfeuffer
c0760688e9 Join repository roles from the system and from the database 2019-05-03 14:47:49 +02:00
René Pfeuffer
232102716c Create DAO for repository roles 2019-05-03 14:19:33 +02:00
René Pfeuffer
9109efe2f1 Add role attribute to repository permission 2019-05-03 07:59:18 +02:00
Florian Scholdei
9bc9e133cc merge 2019-04-17 14:27:17 +02:00
René Pfeuffer
20cf0507a2 Fix injection 2019-04-12 15:26:22 +02:00
René Pfeuffer
e56d6504c0 Add unit tests 2019-04-12 14:32:17 +02:00
René Pfeuffer
1b60857959 Introduce extension point for logout redirection 2019-04-12 11:42:19 +02:00
René Pfeuffer
601510f847 Merge with feature/remove_1.x_resource 2019-04-10 08:01:56 +02:00