* commit '36f73e2539c08a51a165df000b9bd0a299458877': Fix a security check in getting app restrictions