Skip to content

Commit

Permalink
tests(agent): authd users w/o anonymous role
Browse files Browse the repository at this point in the history
Since RFL v1.2.0, authenticated users do not inherit anonymous role by
default anymore.
  • Loading branch information
rezib committed Nov 27, 2024
1 parent c4f8787 commit 9320975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slurmweb/tests/views/test_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_permissions(self):
self.assertEqual(len(response.json.keys()), 2)
self.assertIn("actions", response.json)
self.assertIn("roles", response.json)
self.assertCountEqual(response.json["roles"], ["user", "anonymous"])
self.assertCountEqual(response.json["roles"], ["user"])

#
# General error cases
Expand Down

0 comments on commit 9320975

Please sign in to comment.