Dynamically grant user permissions