irods-contrib / metalnx-web

Metalnx Web Application
https://metalnx.github.io/
BSD 3-Clause "New" or "Revised" License
36 stars 36 forks source link

User request for FAIR data auto access request #49

Open sgworth opened 6 years ago

sgworth commented 6 years ago

Request is to provide an automation mechanism in Metalnx such that when a search request provides a link to an object the user does not have access to a permissions request is automatically generated to the owner of the data (user or group) to let that owner grant access if appropriate.

michael-conway commented 6 years ago

Initial work in progress is being done in the NIEHS fork, we can merge this as part of the 2.1.0? Added to that milestone so we can look at that....

michael-conway commented 6 years ago

example asof version 2.0.1....here a screen shows access to a file that the user does not have permission to see...shows basic data and avu metadata...

access

results now in email...very basic....

mail
michael-conway commented 6 years ago

metalnx.properties value access.proxy must be = true to get this page, otherwise it's a not found page...

mail.enabled must be true to get the 'request access' button, otherwise it's not shown.

So this whole system can be turned off in metalnx.properties if FAIR access is not required.

trel commented 6 years ago

mail template and mail from address configured separately?

michael-conway commented 6 years ago

Yes. Right now it can have a mail.from and a mail.to, if the to is not specified it uses the (new) admin email id. All that is in the /etc/irods-ext/metalnx.properties and shown in the example template.

On Thu, Jun 28, 2018 at 12:47 PM Terrell Russell notifications@github.com wrote:

mail template and mail from address configured separately?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/irods-contrib/metalnx-web/issues/49#issuecomment-401100247, or mute the thread https://github.com/notifications/unsubscribe-auth/ABC-LTzc5dYi1zgwOT3Z3LfSqVPmOdvrks5uBQiZgaJpZM4Ua9D9 .

michael-conway commented 6 years ago

see now in irods-contrib 'dev' branch for example...

https://github.com/irods-contrib/metalnx-web/blob/development/etc/irods-ext/metalnx.properties#L105

trel commented 6 years ago

I see.

A template for the email body?

Plaintext? HTML? Just asking - I have no agenda.

michael-conway commented 6 years ago

html would be nice and is generally contemplated, right now we're in expediency mode

On Thu, Jun 28, 2018 at 1:14 PM Terrell Russell notifications@github.com wrote:

I see.

A template for the email body?

Plaintext? HTML? Just asking - I have no agenda.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/irods-contrib/metalnx-web/issues/49#issuecomment-401108361, or mute the thread https://github.com/notifications/unsubscribe-auth/ABC-LdT1L1oaTTsy_M8rrufL1JEf6whjks5uBQ7ZgaJpZM4Ua9D9 .

michael-conway commented 4 years ago

this is there...just need some cleanups and likely should tie into notifications system so let's kick to 2.2.1