code: def role_settings(self):
          
          result = super(SharingView, self).role_settings()
          uid = self.context.UID()
          filter_func = lambda x: not any((
              x["id"].endswith(uid),
              x["id"] == "AuthenticatedUsers",
              x["id"] == INTRANET_USERS_GROUP_ID,
              ))
          return filter(filter_func, result)
docs: Filter out unwanted to show groups