Updated can_update() and can_view() to check on "roles" capabilities rather than use the relative values of role_ids.  The code now functions even when a person has no roles whatsoever, which under certain error conditions can occur.
Updated can_update() and can_view() to check on "roles" capabilities
rather than use the relative values of role_ids.  The code now
functions even when a person has no roles whatsoever, which under
certain error conditions can occur.



dreibh/planetlab-lxc-plcapi,dreibh/planetlab-lxc-plcapi,dreibh/planetlab-lxc-plcapi,dreibh/planetlab-lxc-plcapi