Add global permissions support for leases.
Two types of global permissions are supported: * Anonymous read-only (to support users without local accounts). * Read-only for users with local accounts. Global permissions are added to leases by way of entries of type "global" in the lease_permissions table. The lease mod tool still needs to be updated to make use of the updated library support here. The new GetAllowedLeases() method in Lease.pm was reworked - it became clear that this was needed as I did the global RO permissions stuff.
Showing with 148 additions and 59 deletions