-
I have been trying out Structurizr on premises and before deploying it somewhere I wanted to restrict workspace visibility. For testing, I am starting Structurizr on premises with Docker, creating a workspace with the admin API then importing a I am using the following properties:
Also, I have tried defining the roles within the Java spec: WorkspaceConfiguration configuration = workspace.getConfiguration();
configuration.addUser("tester", Role.ReadOnly);
configuration.addUser("user", Role.ReadWrite);
configuration.addUser("admin", Role.ReadWrite); When logged in with the admin user, I can see that the workspace is correctly imported and the user permissions are set. The "Public link" in the left side-bar is also gone. But I get an error when I click on the "Private link". In the container logs:
If I remove the user config and make the workspace public again, the "Public link" works fine. Any idea what could cause this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Could this be a problem with the newest release version of the EDIT: it doesn't seem to work with the older versions either, which lets me think I am using this wrong. Could not test with the dev version yet. |
Beta Was this translation helpful? Give feedback.
-
Looks like the problem is gone with version 2024.11.05 🙂 |
Beta Was this translation helpful? Give feedback.
Looks like the problem is gone with version 2024.11.05 🙂