arcsecond-io / public-issues

An issues-only repository to hold all your questions, issues, remarks, suggestions about arcsecondio!
1 stars 0 forks source link

Admin can't upload image in Portal settings. #76

Closed onekiloparsec closed 3 years ago

onekiloparsec commented 3 years ago

Bug is reported by an admin member of the organisation.

GraphiqueCollé-1
onekiloparsec commented 3 years ago

Thanks JB for your unmatched talent to find places where things are slightly different...

The source of the bug lies in the permissions classes. All organisations API endpoints are protected by permission classes, to let only members of the organisations access the org resources.

But the root endpoint /organisations/<org subdomain>/ is different in the sense that organisations themselves are public resources. The update of organisation details is protected by membership permissions.

Except that it relies on a permission mixin that was installed everywhere but there...

onekiloparsec commented 3 years ago

Deployement of a fix ongoing...

onekiloparsec commented 3 years ago

Waiting for validation by bug reporter.

onekiloparsec commented 3 years ago

Fixed.