Merge changes from topic "parse-authority" into main

* changes:
  Parse authority to separate userId and non-user parts of it
  Check cross user permissions for a given UID