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

Add reading Permission attributes from LDAP data and add to users #2302

Closed
3 tasks done
nyuuyn opened this issue Jun 22, 2023 · 0 comments
Closed
3 tasks done

Add reading Permission attributes from LDAP data and add to users #2302

nyuuyn opened this issue Jun 22, 2023 · 0 comments
Milestone

Comments

@nyuuyn
Copy link
Contributor

nyuuyn commented Jun 22, 2023

Some LDAP data contains so-called permission attributes at the user data for example:

objectclass: inetorgperson
objectclass: organizationalperson
objectclass: person
objectclass: top
givenName: Thomas
description: desc
memberOf: cn=Organisationseinheit KSC 2,cn=Organisationseinheit KSC,cn=organisation,OU=Test,O=TASKANA
uid: user-2-3
sn: Bach
ou: Organisationseinheit/Organisationseinheit KSC/Organisationseinheit KSC 2
cn: Thomas Bach
userPassword: user-2-3
permission: organize
permission: inet
permission: program

It would be great if the permissions at the end could be read via the UserController.

What is needed:

  • Update LDAP Client, associated Tests and Test Data
  • Update Model and Database Schema
  • Update REST API accordingly
nyuuyn added a commit to nyuuyn/taskana that referenced this issue Jun 22, 2023
Merge branch 'nyuuyn/perms' of https://github.com/nyuuyn/taskana into nyuuyn/perms

Signed-off-by: Kálmán Képes <2853992+nyuuyn@users.noreply.github.com>
nyuuyn added a commit to nyuuyn/taskana that referenced this issue Jun 22, 2023
	fixes app.properties

Signed-off-by: Kálmán Képes <2853992+nyuuyn@users.noreply.github.com>
nyuuyn added a commit to nyuuyn/taskana that referenced this issue Jun 27, 2023
- Extends LDAP client to read permission attributes from users
- Extends database schema with PERMISSION_INFO table and sets schema version to 6.3.0
- Exetends User models (Builder, Mapper,..) to have permission attribute

Signed-off-by: Kálmán Képes <2853992+nyuuyn@users.noreply.github.com>
nyuuyn added a commit to nyuuyn/taskana that referenced this issue Jun 27, 2023
- Extends LDAP client to read permission attributes from users
- Extends database schema with PERMISSION_INFO table and sets schema version to 6.3.0
- Exetends User models (Builder, Mapper,..) to have permission attribute

Signed-off-by: Kálmán Képes <2853992+nyuuyn@users.noreply.github.com>
nyuuyn added a commit to nyuuyn/taskana that referenced this issue Jun 29, 2023
    - Extends LDAP client to read permission attributes from users
    - Extends database schema with PERMISSION_INFO table and sets schema version to 6.3.0
    - Exetends User models (Builder, Mapper,..) to have permission attribute

    Signed-off-by: Kálmán Képes <2853992+nyuuyn@users.noreply.github.com>
nyuuyn added a commit to nyuuyn/taskana that referenced this issue Jun 29, 2023
        - Extends LDAP client to read permission attributes from users
        - Extends database schema with PERMISSION_INFO table and sets schema version to 6.3.0
        - Exetends User models (Builder, Mapper,..) to have permission attribute

Signed-off-by: Kálmán Képes <2853992+nyuuyn@users.noreply.github.com>
nyuuyn added a commit to nyuuyn/taskana that referenced this issue Jun 29, 2023
        - Extends LDAP client to read permission attributes from users
        - Extends database schema with PERMISSION_INFO table and sets schema version to 6.3.0
        - Exetends User models (Builder, Mapper,..) to have permission attribute

Signed-off-by: Kálmán Képes <2853992+nyuuyn@users.noreply.github.com>
nyuuyn added a commit to nyuuyn/taskana that referenced this issue Jun 30, 2023
        - Extends LDAP client to read permission attributes from users
        - Extends database schema with PERMISSION_INFO table and sets schema version to 6.3.0
        - Exetends User models (Builder, Mapper,..) to have permission attribute
	- Determination of Domains is now able to be done via permissions defined on users

Signed-off-by: Kálmán Képes <2853992+nyuuyn@users.noreply.github.com>
nyuuyn added a commit to nyuuyn/taskana that referenced this issue Sep 1, 2023
        - Extends LDAP client to read permission attributes from users
        - Extends database schema with PERMISSION_INFO table and sets schema version to 6.3.0
        - Exetends User models (Builder, Mapper,..) to have permission attribute
	- Determination of Domains is now able to be done via permissions defined on users

Signed-off-by: Kálmán Képes <2853992+nyuuyn@users.noreply.github.com>
nyuuyn added a commit to nyuuyn/taskana that referenced this issue Sep 1, 2023
        - Extends LDAP client to read permission attributes from users
        - Extends database schema with PERMISSION_INFO table and sets schema version to 6.3.0
        - Exetends User models (Builder, Mapper,..) to have permission attribute
	- Determination of Domains is now able to be done via permissions defined on users

Signed-off-by: Kálmán Képes <2853992+nyuuyn@users.noreply.github.com>
nyuuyn added a commit to nyuuyn/taskana that referenced this issue Sep 1, 2023
            - Extends LDAP client to read permission attributes from users
            - Extends database schema with PERMISSION_INFO table and sets schema version to 6.4.0
            - Exetends User models (Builder, Mapper,..) to have permission attribute
    	- Determination of Domains is now able to be done via permissions defined on users

    Signed-off-by: Kálmán Képes <2853992+nyuuyn@users.noreply.github.com>
@gitgoodjhe gitgoodjhe added this to the v7.0.0 milestone Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants