Deny write permissions for new unverified users
closes #1300
Testing
This MR is for showing the blue email confirmation banner when a certain exception is thrown from the backend, which only applies to new registered users that haven't verified their emails.
First use an old user (older than the email confirmation task), and you should be able to do all of the following:
- Create a post
- Comment on a post
- Vote up or down
- Create group
- Create blog
- Upload images
- Upload movies
Second, create a new user, don't verify its email address, hide the blue email confirmation banner by clicking on the X icon and try to do the same. Each time you try to do any of those, the blue banner should re-appear
added scoped labels
changed the description
added scoped label and automatically removed label
63 70 return false; 64 71 } 65 72 73 if (!$this->acl->write($this->entity)) { - Owner
Why do we need to add this? ACL should ready be being hit?
- Owner
There are a bunch of places that acl write is being used. Lets not duplicate this call unless we have to.
- Owner
What about subscribing and other interact acl actions?