HomePhabricator

Detect if user doesn't have rights

Description

Detect if user doesn't have rights

Following tests detect if user doesn't have rights and do not raise
exception:
site_tests.TestSiteTokens.*
site_tests.TestSiteObjectDeprecatedFunctions.test_token

Bug: T85353
Change-Id: I5d07fffac0cf3dc8161564b555d60d8d1a21a7e0