Repository navigation
Materia v11.1.1
This is a minor hotfix release to address a number of permissions issues associated with the play storage API.
- Adds
viewable_by_current_usermodel method that checks for ANY unexpired explicit permission a user has to an instance. - Updated several perm checks to use
viewable_by_current_user(user)instead of referencinginstance.permissions()without filtering for expiration. - The play storage API now checks for viewable permissions for
GETrequests for a given instance instead of simply whether the instance is playable. - Additional checks to
POSTrequests to the play storage API to restrict permissions. Guest users can no longer write data to the play storage API. The play storage API now only accepts POST requests for instances that have storage enabled in their metadata. - Updated the default timezone value to satisfy the GitHub action runners.