Add implementation for permission in wayland environment