diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5518b06..404288c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,35 +10,35 @@ repos: - id: check-added-large-files - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 7.1.1 hooks: - id: flake8 additional_dependencies: - 'flake8-print==4.0.1' - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0-alpha.4 + rev: v4.0.0-alpha.8 hooks: - id: prettier - repo: https://github.com/codespell-project/codespell - rev: v2.2.2 + rev: v2.3.0 hooks: - id: codespell exclude: yarn.lock @@ -47,7 +47,7 @@ repos: - 'ro' - repo: https://github.com/pre-commit/mirrors-eslint - rev: v8.33.0 + rev: v9.17.0 hooks: - id: eslint files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx diff --git a/castlecraft/castlecraft/doctype/cfe_identity_provider/cfe_identity_provider.json b/castlecraft/castlecraft/doctype/cfe_identity_provider/cfe_identity_provider.json index e66ea8d..5886c6f 100644 --- a/castlecraft/castlecraft/doctype/cfe_identity_provider/cfe_identity_provider.json +++ b/castlecraft/castlecraft/doctype/cfe_identity_provider/cfe_identity_provider.json @@ -214,6 +214,18 @@ "role": "System Manager", "share": 1, "write": 1 + }, + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "Identity Access Manager", + "share": 1, + "write": 1 } ], "sort_field": "modified", diff --git a/castlecraft/castlecraft/doctype/cfe_user_claim/cfe_user_claim.json b/castlecraft/castlecraft/doctype/cfe_user_claim/cfe_user_claim.json index ada1572..763022c 100644 --- a/castlecraft/castlecraft/doctype/cfe_user_claim/cfe_user_claim.json +++ b/castlecraft/castlecraft/doctype/cfe_user_claim/cfe_user_claim.json @@ -53,6 +53,18 @@ "read": 1, "role": "Desk User", "select": 1 + }, + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "Identity Access Manager", + "share": 1, + "write": 1 } ], "sort_field": "modified",