Water-Systems-Management-UCM / Waterspout

Server side API for ag water optimization model runner
MIT License
2 stars 0 forks source link

Preferences don't work for non-admin users #43

Closed nickrsan closed 3 years ago

nickrsan commented 3 years ago

The permissions system rejects anyone writing their own settings/UserProfile objects. Is this fixed by allowing write to the table since Object Level Permissions block it (I don't think it works that way), or do we need to finish building out the custom permission that reacts to the object level permissions?

nickrsan commented 3 years ago

Resolved in a recent commit (649652825e46d47e8debde9ff9f3b819c73d8f8c and 621b8bdcb1e8b293dcad3dc8863ab0fdb2957852). Needed to adjust the Object Level Permission class to properly check the permissions manually rather than just using a base object level permissions class.