-
Notifications
You must be signed in to change notification settings - Fork 14
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
internal API: Problem when adding an owner that is not present on Opencast-Server #130
Comments
Opencast does not care about the role name. It is possible to add custom role names, but by default, the Opencast Admin UI limits the selection. I would expect the error to be something else. |
I'm not quite sure if I understand the problem. At least educast already uses the If I made false assumptions about this we should discuss this in more detail because it sounds like something that could potentially interfere with other use cases. |
yes
The readme of the internal API (https://github.com/opencast-ilias/OpenCast/blob/main/classes/Service/README.md) says about the owner:
The owner-role defined over the plugin-config doesn't really influence the "owner" that is sent when using the internal API to create a series. The 'ROLE_OWNER_XYZ' would still be used when creating events. In series the 'ROLE_OWNER_XYZ' never gets set.
I know that this could interfere with someone using the internal API. But if someone wanted to use the API with "owner" as is, they could send the owner they want to send over the "producers"-parameter as well as the "owner"-parameter. Then everything would continue to work the same for them. I do not know if somebody else actually uses the "owner"-parameter with the internal API. |
Ok thanks for the explanation. Seems like there was indeed a misunderstanding on my side regarding I still don't quite understand what solution/workaround you suggest. Not granting the user that owns the ilias object any permissions in opencast? That sounds reasonable because those should be derived from the course/group admin/member roles IMHO. |
Owner of the ilias-Object is the Account that is shown under "owner", when you click on the "Info"-Tab in a Opencast-Series. In the OpencastEvent-Plugin the xoctSeriesAPI is not used. I would want to change this file, so I don't think it would have any effect on that plugin. |
Describe the bug
We use the internal API to create series. We like to give the Ilias-object of the opencast-series the owner root. This owner does not make sense to the opencast-server and when we send root as owner to opencast, the series doe not get created.
As far as I can see, there is no need to send the owner to the opencast server. The owner gets treated the same way as "producers" gets treated by opencast.
To Reproduce
Steps to reproduce the behavior:
You can reproduce this bug only, if you use the internal-api with some other plugin on you ilias-installation.
Expected behavior
I woud like to name root as the owner of the ilias object. I would like for the opencast-series to still be created without the root user being sent to the opencast-server
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: