LPS-28939 add the support for permission