keeps / dbptk-enterprise

DBPTK Enterprise deployment using docker
https://database-preservation.com
GNU Lesser General Public License v3.0
4 stars 2 forks source link

Do I need RODA repository for setting user permissions to databases in dbptk-enterprice? #20

Closed hansalshoff closed 3 years ago

hansalshoff commented 3 years ago

How do I install RODA and wy do I need it to set userpermissions to sertain databases in dbptk-enterprice?

Kindly! Hans

luis100 commented 3 years ago

Currently, the only authorization integration done for DBPTK Enterprise is with RODA REST-API. This is because a usual use case for preserving database uses a RODA and DBPTK Enterprise integration, where in RODA you keep SIARD files together with other database information, like database dumps and documentation, and then provide access to the SIARD content using the DBPTK Enterprise.

image

But, there is a feature request to provide other methods of defining database authorization, including definition of authorization based on user attributes (as authentication feature in DBPTK Enterprise is provided by a integration with CAS).

To install RODA check the RODA GitHub page, but please note that the RODA and DBPTK Enterprise integration is a commercial plugin provided by KEEP SOLUTIONS.

hansalshoff commented 3 years ago

Hi and thanks! Just to make this clear for me. So I can not use any of the configurationsfiles to set user permissions for databases in dbptk-e without RODA? Is that right? I see that there are several examples of that in the config-files.

Kindly! Hans


Från: Luis Faria @.> Skickat: den 21 september 2021 16:05 Till: keeps/dbptk-enterprise @.> Kopia: Hans Alshoff @.>; Author @.> Ämne: Re: [keeps/dbptk-enterprise] Do I need RODA repository for setting user permissions to databases in dbptk-enterprice? (#20)

Closed #20https://github.com/keeps/dbptk-enterprise/issues/20.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/keeps/dbptk-enterprise/issues/20#event-5335906667, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVXE4SAAED745HW5FWLQMODUDCGMPANCNFSM5ENVAONA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

luis100 commented 3 years ago

Generally, with DBPTK Enteprise can have two roles: admin and user, but the user can access all prepared databases. For defining that a user can access some databases but not others, you currently need RODA (where the per-database authorization would be defined).

hansalshoff commented 3 years ago

Ok thanks! In my newly set up dbptk-e with cas it seems like only admin can add databases(uploaded siards) and only admin can see these added databases. I have two other users as only users. Are theese other users suposed to se the databases. Does theire roole in cas matter for that?

Kindly Hans


Från: Luis Faria @.> Skickat: den 22 september 2021 10:34 Till: keeps/dbptk-enterprise @.> Kopia: Hans Alshoff @.>; Author @.> Ämne: Re: [keeps/dbptk-enterprise] Do I need RODA repository for setting user permissions to databases in dbptk-enterprice? (#20)

Generally, with DBPTK Enteprise can have two roles: admin and user, but the user can access all prepared databases. For defining that a user can access some databases but not others, you currently need RODA (where the per-database authorization would be defined).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/keeps/dbptk-enterprise/issues/20#issuecomment-924707161, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVXE4SFTPO7E2TO6ZW6QNHTUDGIHZANCNFSM5ENVAONA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

hansalshoff commented 3 years ago

Is a prepared database when it is ready for browsing perhaps? I have just uploaded a siard and not browsed it yet.

/Hans


Från: Luis Faria @.> Skickat: den 22 september 2021 10:34 Till: keeps/dbptk-enterprise @.> Kopia: Hans Alshoff @.>; Author @.> Ämne: Re: [keeps/dbptk-enterprise] Do I need RODA repository for setting user permissions to databases in dbptk-enterprice? (#20)

Generally, with DBPTK Enteprise can have two roles: admin and user, but the user can access all prepared databases. For defining that a user can access some databases but not others, you currently need RODA (where the per-database authorization would be defined).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/keeps/dbptk-enterprise/issues/20#issuecomment-924707161, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVXE4SFTPO7E2TO6ZW6QNHTUDGIHZANCNFSM5ENVAONA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

hansalshoff commented 3 years ago

Thanks, I figured it out how it works now. I had to go though the brows process for the database to make it available for users.

/Hans

Från: Luis Faria @.> Skickat: den 22 september 2021 10:34 Till: keeps/dbptk-enterprise @.> Kopia: Hans Alshoff @.>; Author @.> Ämne: Re: [keeps/dbptk-enterprise] Do I need RODA repository for setting user permissions to databases in dbptk-enterprice? (#20)

Generally, with DBPTK Enteprise can have two roles: admin and user, but the user can access all prepared databases. For defining that a user can access some databases but not others, you currently need RODA (where the per-database authorization would be defined).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/keeps/dbptk-enterprise/issues/20#issuecomment-924707161, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVXE4SFTPO7E2TO6ZW6QNHTUDGIHZANCNFSM5ENVAONA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.