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

Hide uploaded files from other users. #162

Open
dasistwas opened this issue Jun 1, 2021 · 4 comments
Open

Hide uploaded files from other users. #162

dasistwas opened this issue Jun 1, 2021 · 4 comments
Assignees

Comments

@dasistwas
Copy link
Member

dasistwas commented Jun 1, 2021

We want to be able to hide uploaded files from other users out of privacy concerns. Upgrade the Behaviors to allow visibility to be restricted to single users.

@dasistwas
Copy link
Member Author

behaviour: visibility für teammemberselect

@michaelpollak michaelpollak changed the title Dateiupload je person, uneinsichtig für Teammemberselect Hide uploaded files from other users. Jun 9, 2021
@michaelpollak
Copy link
Collaborator

I've been testing solutions, isn't the "visibility:author" working for this scenario? Removing teachers from the visibility list and having only the author on it would solve this issue?

@dasistwas
Copy link
Member Author

We have multiple team members and the team members should only see the files uploaded for them. Usecase: There is a lecture that has two trainers. In order to comply with gdpr, the lectures should not see the invoice of each other. Only one of the trainers is entry author, the other is teammember. Basically it works like that:

The organiser (VPH) uploads an invoice template
Trainer signs the invoice template and uploads it in the upload field for invoices.

If there are 2 trainers for one lecture, there is only one entry for both trainers, but they should only see the uploaded invoices, that concerns them. And the signed invoice should only be seen by the organiser and the uploader.

So not sure how to achieve that: behavior: add a teammember select field to the already existing behavior: "Visible to" -> teammemberselect. Or choose specific users.

michaelpollak added a commit to michaelpollak/moodle-mod_datalynx that referenced this issue Jul 23, 2021
michaelpollak added a commit to michaelpollak/moodle-mod_datalynx that referenced this issue Jul 23, 2021
@michaelpollak
Copy link
Collaborator

Finished this today, think it solves all these problems :)

I add a number of file fields to the entry.
I add a behavior for every trainer like "visibletotrainer1", ...
I deselect all roles (admin always can view and edit!)
I select the user I want (michael pollak)
I link the field with this behavior.

image

Now only this user can see the uploaded files, every field can be linked to a specific user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants