Skip to content

Conversation

@somiaj
Copy link
Contributor

@somiaj somiaj commented Dec 16, 2025

Add option to allow the allow_unsecured_rpc option to be a hash of course ids, which can be set to 0 or 1 to disable cookies only for that course. Further, the course id could also be a hash of user ids that can be set to 0 or 1 to disable cookies only for the specified user id.

Add option to allow the `allow_unsecured_rpc` option to be a hash
of course ids, which can be set to 0 or 1 to disable cookies only
for that course. Further, the course id could also be a hash of
user ids that can be set to 0 or 1 to disable cookies only for the
specified user id.
Copy link
Member

@drgrice1 drgrice1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good improvement. Even for PreTeXt's usage only a single user in a single course is needed. So this is even better for that situation, because now it is possible to allow the single user in the single course (usually the user anonymous in the course anonymous) to use the unsecured rpc, but other courses can be used securely on the same server.

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

Successfully merging this pull request may close these issues.

2 participants