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

[Feature] Optional webservice to restrict access to released data #11

Open
2 tasks
chriso123 opened this issue Oct 19, 2022 · 0 comments
Open
2 tasks

Comments

@chriso123
Copy link
Collaborator

To make the access to the public metadata more restrictive, a webservice should be defined that can be used with a token (moodle core functionality)

Current state:

When the public access is enabled, there are no restrictions when calling the public_metadata.php file.

Goal:

Instead of opening the system to everyone, a token authentication should be used so only privileged people/systems can access the data. (Example: only the repository should have access to the oer plugin, the released files then are handled by the repository to make them public)

The configuration of the service than can be made through Moodle default settings (Protocoll, users with token etc.)

Todos:

  • Add a setting to activate the webservice for OER (is this necessary? the service itself is handled by moodle, and is protected by moodle token authentication anyway)
  • Add the service definition and classes with correct return values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant