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

Prevent students from accessing shared data. #5695

Merged

Conversation

ryanlovett
Copy link
Collaborator

All users can currently read the _shared path, so use a different directory. I've created it on the filestore. Also collapse the course::1524699 group into the existing one, and remove the custom.admin entry. The latter is only needed for pure admins, and we're moving away from that model.

Lastly, the shared storage should be read-only for datahub admins too because we don't want to accidentally edit the log files. If output is generated from this data, it can be saved to datahub admins' home dirs. Admins can upload new data to the filestore without having to go through the hub, so I don't think this will be a problem. An alternative would be to have the path be read-write, but set the modes on the logs to be 444.

All users can currently read the _shared path, so use a different directory. I've created it on the filestore. Also collapse the course::1524699 group into the existing one, and remove the custom.admin entry. The latter is only needed for pure admins, and we're moving away from that model.
@ryanlovett ryanlovett merged commit 41c4742 into berkeley-dsep-infra:staging Apr 24, 2024
21 checks passed
@balajialg
Copy link
Contributor

balajialg commented Apr 24, 2024

Thanks @ryanlovett for fixing the config! If we figure out ways to start reading entries from BigQuery then we can even do away with storing the logs in shared folder

@ryanlovett
Copy link
Collaborator Author

Yeah, totally agree @balajialg. BigQuery would be much faster.

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

Successfully merging this pull request may close these issues.

2 participants