Skip to content

Conversation

@JVickery-TBS
Copy link

feat(logic): read only mode;

  • Site read only mode.

Prevent non-sysadmin users from doing POST like actions. Idea is to only allow _show or _list type actions and disallow all _create, _update, _patch, and _delete type actions.

- Site read only mode.
- Added change log file.
- Added change log file.
@JVickery-TBS
Copy link
Author

@wardi I wrote some test coverage for this in our plugin: open-data/ckanext-canada#1641 and passes locally.

Co-authored-by: Ian Ward <ian@excess.org>
@JVickery-TBS JVickery-TBS merged commit b89f2a4 into canada-v2.10 Jan 26, 2026
1 check passed
@JVickery-TBS JVickery-TBS deleted the feature/read-only-mode branch January 26, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants