Skip to content

Conversation

@v1r0x
Copy link
Member

@v1r0x v1r0x commented Sep 17, 2025

Accesspoints allow admins to restrict access for users to certain parts of the application. Currently only a Default accesspoint is available, which redirects to the Spacialist main page. If no accesspoints are set for a user, the Default is used.
Plugins can extend the list of available accesspoints by defining them in their info.xml file:

<info>
...
<accesspoints>
    <accesspoint>
        <path>/subpath</path>
        <id>UniqueForPlugin</id>
        <label>key_in_i18n_json_files</label>
    </accesspoint>
</accesspoints>
...
</info>

@v1r0x v1r0x requested a review from Severino September 17, 2025 09:17
@Severino
Copy link
Contributor

Severino commented Oct 9, 2025

Please supply your test plugin that I can use for testing.

@v1r0x
Copy link
Member Author

v1r0x commented Oct 9, 2025

Already uploaded 😉

if(e.response.status == 401) {
systemStore.setAppState(true);
} else {
throwError(e);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing import

v1r0x and others added 7 commits October 28, 2025 09:30
…#588)

* Replaced manual file path with plugin methods

* Added scope test plugin

* Moved PluginScopes to a separate trait

* Added cache to plugin scopes

* Added test case for scopes
* Moved AccessPointLogic into a Service

---------

Co-authored-by: Vinzenz Rosenkranz <[email protected]>
@Severino Severino dismissed their stale review December 10, 2025 10:06

otudated

@Severino
Copy link
Contributor

I would like you to document the accesspoint functionality in the docs (I already created the specific sections for it):
image
https://github.com/DH-Center-Tuebingen/spacialist-docs/blob/main/docs/user/user-and-role-management.md
https://github.com/DH-Center-Tuebingen/spacialist-docs/blob/main/docs/developer/plugins.md

Then I have no further objections to merge this.

@v1r0x
Copy link
Member Author

v1r0x commented Dec 11, 2025

I would like you to document the accesspoint functionality in the docs (I already created the specific sections for it): https://github.com/DH-Center-Tuebingen/spacialist-docs/blob/main/docs/user/user-and-role-management.md https://github.com/DH-Center-Tuebingen/spacialist-docs/blob/main/docs/developer/plugins.md

Then I have no further objections to merge this.

I started working on the texts, but it sure needs some polishing.

@v1r0x v1r0x merged commit f8237f9 into release-0.12-rebased Dec 11, 2025
9 of 10 checks passed
@v1r0x v1r0x deleted the 0.12-feat-accesspoints branch December 11, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants