Commit Graph

871 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
René Pfeuffer
af468898b9 Reject permission requests with missing permissions 2019-05-20 14:30:57 +02:00
Rene Pfeuffer
e34781789d Set role instead of collection of verbs for repository owner 2019-05-16 12:12:46 +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
798eb5a846 Replace wrong endpoint for repository roles with endpoint for verbs 2019-05-09 09:45:33 +02:00
René Pfeuffer
61844b917d Use camelCase for url 2019-05-08 12:36:41 +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
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
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
1b60857959 Introduce extension point for logout redirection 2019-04-12 11:42:19 +02:00
René Pfeuffer
4797967b0d Implement simple search queries for users, groups and repositories 2019-04-09 16:27:27 +02:00
René Pfeuffer
fbd6f4f3c7 Introduce filter parameter in Manager 2019-04-09 13:09:16 +02:00
René Pfeuffer
f5933cb6d5 Clean up 2019-04-09 12:31:43 +02:00
René Pfeuffer
c6436da455 Remove old AbstractManagerResource 2019-04-09 12:14:32 +02:00
René Pfeuffer
290f8466eb Delete old 1.x resources 2019-04-08 11:10:34 +02:00
Sebastian Sdorra
2b041c3c53 Merged in feature/branch-overview (pull request #222)
Feature/branch overview
2019-04-03 15:54:45 +00:00
Sebastian Sdorra
7bbafee1ed the branch endpoint should return a not found error with context, if the branch does not exists 2019-04-03 17:10:22 +02:00
René Pfeuffer
88151f2dce Merge with 2.0.0-m3 2019-04-01 14:54:42 +02:00
René Pfeuffer
ae79a5ad9d Introduce own manager for reduced model object
Move autocomplete functionality to own managers and add functions to
load reduced model objects by id
2019-04-01 13:51:34 +02:00
René Pfeuffer
2e93a9efec Implement peer review comments 2019-03-29 15:39:44 +01:00
René Pfeuffer
9833bfd34d Merge with 2.0.0-m3 2019-03-29 11:54:17 +01:00
Rene Pfeuffer
eadad2e830 Merged in feature/mark_default_branch (pull request #223)
Feature mark default branch
2019-03-29 10:23:56 +00:00
René Pfeuffer
93cec3d282 Add parameter for parent of new branch 2019-03-28 16:15:31 +01:00
René Pfeuffer
58b7dff631 Create REST endpoint for branch creation 2019-03-26 10:55:39 +01:00
René Pfeuffer
b1547d2b69 Harmonize user and group name validation, again 2019-03-25 15:41:21 +01:00
René Pfeuffer
4ec7006108 Enhance branch object with default flag 2019-03-25 11:28:29 +01:00
Sebastian Sdorra
50cb7e9370 merge with 2.0.0-m3 2019-03-21 10:47:33 +01:00
Sebastian Sdorra
7c6bfdaaac removes admin role 2019-03-21 10:46:11 +01:00
Sebastian Sdorra
3e9f59ef47 support for managing external managed groups 2019-03-21 09:58:36 +01:00
Sebastian Sdorra
1627518954 removes admin user and group configuration in favor of permissions 2019-03-13 12:54:50 +01:00
René Pfeuffer
67f05d6b60 Merged in feature/namespace_strategies (pull request #214)
Feature/namespace strategies
2019-03-13 11:20:36 +00:00
Sebastian Sdorra
dea5732141 move dto parameters to constructor in order to create an immutable object 2019-03-13 10:01:46 +01:00
Sebastian Sdorra
54170c04a7 removes unused setter from NamespaceStrategiesDto 2019-03-13 09:38:27 +01:00
Sebastian Sdorra
7d994c62a6 validate namespace strategies on configuration update 2019-03-12 16:40:08 +01:00
Sebastian Sdorra
cb554eb7bc rename defaultNamespaceStrategy to namespaceStrategy 2019-03-12 15:54:34 +01:00
René Pfeuffer
c8b19a9d66 Add revision to context 2019-03-12 15:44:23 +01:00
René Pfeuffer
6ebbfa97a3 Start entity types with a capital char 2019-03-12 15:10:43 +01:00
Sebastian Sdorra
f7f5102541 align validation of repository name and namespace 2019-03-12 15:10:05 +01:00
René Pfeuffer
0df22d25f5 Merge with 2.0.0-m3 2019-03-12 09:29:28 +01:00
Mohamed Karray
77fb869ce4 fix there is no error on missing revision 2019-03-11 18:42:10 +01:00
Mohamed Karray
d52a617b29 merge 2019-03-11 15:38:40 +01:00
Sebastian Sdorra
d31ef73b88 use simplename of namespace strategy, to simplify i18n 2019-03-11 14:46:35 +01:00