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

fix(image): missing write access to create/modify templates for SCIM image #2844

Closed
iromli opened this issue Nov 2, 2022 · 0 comments · Fixed by #2846, #2903, #2904, #2908 or #3555
Closed

fix(image): missing write access to create/modify templates for SCIM image #2844

iromli opened this issue Nov 2, 2022 · 0 comments · Fixed by #2846, #2903, #2904, #2908 or #3555
Assignees
Labels
kind-bug Issue or PR is a bug in existing functionality

Comments

@iromli
Copy link
Contributor

iromli commented Nov 2, 2022

Describe the bug

The janssenproject/scim unable to modify jans-scim.xml and create LDIF templates.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy janssenproject/fido2 pod on k8s with running user 1000

  2. See error below

    Traceback (most recent call last):
      File "/app/scripts/bootstrap.py", line 346, in <module>
        main()
      File "/app/scripts/bootstrap.py", line 142, in main
        persistence_setup.import_ldif_files()
      File "/app/scripts/bootstrap.py", line 279, in import_ldif_files
        self.generate_scopes_ldif()
      File "/app/scripts/bootstrap.py", line 335, in generate_scopes_ldif
        with open("/app/templates/jans-scim/scopes.ldif", "wb") as fd:
    PermissionError: [Errno 13] Permission denied: '/app/templates/jans-scim/scopes.ldif'
    

Expected behavior
Templates can be created/modified without erorrs.

@iromli iromli changed the title fix(image): missing write access to create/modify templates fix(image): missing write access to create/modify templates for SCIM image Nov 2, 2022
@mo-auto mo-auto added the kind-bug Issue or PR is a bug in existing functionality label Nov 2, 2022
moabu pushed a commit that referenced this issue Nov 2, 2022
* fix(image): missing write access to modify jans-fido2.xml file

Ref: #2843

* fix(image): missing write access to create/modify templates for SCIM image

Ref: #2844
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment