Closed olehkorkh-planeks closed 9 months ago
@olehkorkh-planeks We still need users in the backend and admin group to be able to post. Can we use the isOwner, isAdmin, and isBackend classes defined at the top? https://github.com/stanfordnmbl/opencap-api/blob/c63326aa14f99680a249a9d94fc6e50a02c47963/mcserver/views.py#L85
If not, some other way to provide access to users in the admin and backend groups is fine with me.
@suhlrich Improved the code that checks the permission.
Fix for https://github.com/stanfordnmbl/opencap-api/issues/60