! So, a little of the profile remodelling. Firstly, viewing your own profile is now one of those things that shouldn't really have ever been a permission. It's your profile, you should be able to see it. So, view-own is now based on whether you're logged in or not and view-any is its own permission.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! Since we're changing around, we should really clean up the old ones while we're upgrading.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! Apply profile permission changes to Who's Online

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! Use the correct name for this permission now.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! Another simple permissions change for this.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! Fix the reported permissions to have the right descriptions.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! While I'm here, let's also fix all the other permissions that don't have a description defined for reports.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! And now we add in a new permission to make life easier elsewhere that won't show up in the permissions reports: is_not_guest. Like it says, it's a permission that only applies if the user isn't a guest and while normally there are measures for this (like is_not_guest()) it means we can keep the profile code as it rather than trying to refactor it or whatever. There's also similar phantom permissions for mods that expect the old permissions.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! And update the definition of the permissions themselves.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! And another thing that needed updating.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! And of course the profile code itself.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! Since the menu only actually makes sense to you if you are in your own profile, and you can see that as a member, why make it any more complex? (The menu is going away soon anyway. This is merely to avoid it being broken in the interim.)

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! Minor tweaks for the profile permissions elsewhere.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! Don't really need this ol' permission either.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
Merge pull request #861 from Arantor/release-2.1

Viewing your own profile shouldn't really be a permission