Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit Sysadmin Updating (no self modify, no system user modify) #8155

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Commits on Apr 4, 2024

  1. feat(validator): sysadmin update;

    - Added extra validator to updating a user's sysadmin value.
    JVickery-TBS committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    b237c90 View commit details
    Browse the repository at this point in the history
  2. feat(dev): changelog;

    - Added change log file.
    - Minor fix to new test.
    JVickery-TBS committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    b9586b6 View commit details
    Browse the repository at this point in the history
  3. fix(syntax): lint;

    - Flake8 syntax fixes.
    JVickery-TBS committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    c8f9dc7 View commit details
    Browse the repository at this point in the history
  4. fix(typing): type fixes;

    - Pyrigth fixes.
    JVickery-TBS committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    02ff924 View commit details
    Browse the repository at this point in the history
  5. fix(validators): logic fix;

    - Fixed logic in new validator.
    JVickery-TBS committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    5afd72c View commit details
    Browse the repository at this point in the history
  6. fix(validators): fake user;

    - Using ignore_auth with fake user should be allowed.
    JVickery-TBS committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    1330c4f View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. fix(validators): fake user;

    - Using ignore_auth with fake user should be allowed.
    - Better logic for no value provided.
    JVickery-TBS committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    b824689 View commit details
    Browse the repository at this point in the history
  2. fix(validators): logic;

    - Return values for new validator.
    JVickery-TBS committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    1db0c61 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. Update ckan/logic/validators.py

    Co-authored-by: Adrià Mercader <amercadero@gmail.com>
    JVickery-TBS and amercader committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    44c1dd8 View commit details
    Browse the repository at this point in the history
  2. feat(dev): sysadmin validator cont.;

    - More test coverage.
    - Updated some logic and errors.
    JVickery-TBS committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    77d8701 View commit details
    Browse the repository at this point in the history
  3. fix(syntax): lint;

    - flake8 fixes.
    JVickery-TBS committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    fb41af1 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. fix(tests): use site id in call helper;

    - Use site id instead of loopback.
    JVickery-TBS committed May 2, 2024
    Configuration menu
    Copy the full SHA
    32fc0ae View commit details
    Browse the repository at this point in the history