Check or manipulate the permissions on a given opbject.