* commit '9429afba06d96973ea4bf76abba945dd92a1debb': Fix a security check in getting app restrictions