Skip to content

Commit

Permalink
Rename permission group in pls
Browse files Browse the repository at this point in the history
  • Loading branch information
foodelevator committed Jan 18, 2024
1 parent a256fad commit 4433095
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public UserDetails loadUserDetails(PreAuthenticatedAuthenticationToken token) th

// Prepare Pls and Dfunkt API calls
var user = response.getUser();
var plsUrl = "https://pls.datasektionen.se/api/user/" + user + "/prometheus";
var plsUrl = "https://pls.datasektionen.se/api/user/" + user + "/calypso";

// Read permissions from Pls
var permissions = new RestTemplate()
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h1>403 boi</h1>
</p>
<p>
Försökte du göra något busigt? Eller saknar du bara rättigheter att redigera nyheter?<br />
För att kunna posta på Datasektionen.se behöver du rättigheten <code>prometheus:post</code> från
För att kunna posta på Datasektionen.se behöver du rättigheten <code>calypso:post</code> från
<a href="http://pls.datasektionen.se">Pls.</a>
</p>
<hr />
Expand Down

0 comments on commit 4433095

Please sign in to comment.