Commit Graph

10 Commits

Author SHA1 Message Date
René Pfeuffer
8e3b0e4145 Archive repository (#1477)
This adds a flag "archived" to repositories. Repositories marked with this can no longer be modified in any way. To do this, we switch to a new version of Shiro Static Permissions (sdorra/shiro-static-permissions#4) and specify a permission guard to check for every permission request, whether the repository in question is archived or not. Further we implement checks in stores and other activies so that no writing request may be executed by mistake.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-16 10:58:29 +01:00
Florian Scholdei
f1b34eb502 Changeover to MIT license (#1066)
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-03-23 15:35:58 +01:00
René Pfeuffer
f781778908 Fix permission checks 2019-01-18 14:52:17 +01:00
René Pfeuffer
ad65c8cd02 Use PermissionDescriptor instead of String 2019-01-17 13:21:20 +01:00
René Pfeuffer
5e364e1043 Do not expose StoredAssignedPermission 2019-01-16 16:03:02 +01:00
René Pfeuffer
f1692aa1c7 Cleanup security system
- remove probably unused methods
- use sets instead of lists
- remove old REST resource
2019-01-16 14:19:11 +01:00
Johannes Schnatterer
32b0341649 Security System: Query permission.xmls from uber classloader.
Allows for finding permission.xmls from plugins.
Adds an examplary permission.xml for git plugin.
2018-12-20 17:56:28 +01:00
Mohamed Karray
fb79cbfd02 merge + refactor getStoreDirectory 2018-11-28 15:14:49 +01:00
Sebastian Sdorra
345392d309 fix license headers 2013-05-30 09:29:28 +02:00
Sebastian Sdorra
62bfcbc78f add unit test for DefaultSecuritySystem 2013-05-02 18:29:00 +02:00