Skip to content

Commit

Permalink
Mark read only permissions (#8)
Browse files Browse the repository at this point in the history
Marks read only verbs that may be executed, when a repository is marked as "archived" (scm-manager/scm-manager#1477)

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
  • Loading branch information
pfeuffer and eheimbuch committed Dec 16, 2020
1 parent 1946714 commit 3631f75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
### Added
- Mark read only verbs to be able to see teamscale findings in archived repositories ([#8](https://github.com/scm-manager/scm-teamscale-plugin/pull/8))

## 1.1.0 - 2020-09-11
### Changed
- Set span kind for http requests (for Trace Monitor)
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/scm/repository-permissions.xml
Expand Up @@ -26,7 +26,7 @@
<repository-permissions>
<verbs>
<verb>teamscale</verb>
<verb>readTeamscaleFindings</verb>
<verb read-only="true">readTeamscaleFindings</verb>
<verb>writeTeamscaleFindings</verb>
</verbs>
<roles>
Expand Down

0 comments on commit 3631f75

Please sign in to comment.