may_attach_files and may_create_poll added to permission handler