Open Bug 1348014 Opened 8 years ago Updated 1 year ago

Can't delete (no submit) user who hasn't do anything

Categories

(Bugzilla :: User Accounts, defect)

5.0.3
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: renaud.laurence, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 Build ID: 20170126200443 Steps to reproduce: - create a user, do not use it - make sure the allowdeleteuser is on - try to delete the user * go to editusers.cgi, search user * click on delete Actual results: The page display the info for this user but no submit button for actualy delete the user. Expected results: give the possibility to delete him or say why you can't
nota: does not happen if the user is in a bug : "say can't delete" nor if user is in cc i "think" that the problems come from the confirm_delete.html.tmpl on the line : [% IF accept_deletion %] <p class="areyoureallyreallysure"> ... [% END %] [% END %] [% END %] has a [% END %] who should be before the condition, i think the condition is in the [% IF assignee_or_qa || cc || component_cc || email_setting || flags.requestee || namedqueries || profile_setting || quips || series || watch.watched || watch.watcher || whine_events || whine_schedules || otheruser.has_audit_entries || other_safe %] so it never trigger if the user has'nt one of the option, at least it seems to work correctly if i move on of the end before the if accept_deletion
You need to log in before you can comment on or make changes to this bug.