Skip to content

Site Read Only Mode#219

Merged
JVickery-TBS merged 4 commits into
canada-v2.10from
feature/read-only-mode
Jan 26, 2026
Merged

Site Read Only Mode#219
JVickery-TBS merged 4 commits into
canada-v2.10from
feature/read-only-mode

Conversation

@JVickery-TBS
Copy link
Copy Markdown

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
Copy Markdown
Author

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

Comment thread changes/219.canada.feature Outdated
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.

2 participants