Please upgrade to 2.3 here.
The 2.2 and earlier branches are no longer being updated.
Adding custom permissions
How would I go about adding a custom permission? I'm looking for a way to grant different permissions so that different users can post larger attachments than the default. I don't want new users to be able to upload large files, but I would like to be able to turn it on for some users.