Version 1.0.3 - January 9, 2024
- Fix error when submitting picture if licenses are not setup.
- Update code to reduce number of deprecation warnings.
Jbugy I cannot reproduce your problem. Can you give more details and a picture of your permissions setup? Was this problem with a personal or community album? Does your user have moderator or admin privilege?
Regular users can hide their own albums if they have the "Hide own album" permission. Only users with the moderation permission can delete albums permanently.
The "Invalid draft state, not allowed to submit" error should normally not be visible in the frontend unless you modified the permissions while the page is open, or if you are re-trying after an error without refreshing the page. When you refresh the page you should no longer see the draft if it was in fact successfully published, or should not see the upload button anymore if you have lost the upload permission in the meantime.
You mention a purge feature, are you referring to the Flarum extension purge feature after disabling an extension? If this doesn't work there should be something logged to the Flarum log file. If you really can't find anything, try enabling Flarum debug mode and open the browser developer console before re-trying to see if anything different appears.
I will soon publish the next version of the extension with new features. The permission system will be refactored and work slightly differently. But the current system seems to be working fine on my test forums.