add permissions to the required array