Closed Bug 329163 Opened 18 years ago Closed 18 years ago

No 'settings' template case in generic auth code

Categories

(Bugzilla :: Administration, task)

2.20.1
task
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: goobix, Assigned: goobix)

References

()

Details

Attachments

(1 file)

https://bugzilla.mozilla.org/editsettings.cgi reports:

>>  Sorry, you aren't a member of the 'tweakparams' group, and so you are not authorized to modify . <<

(for non-bmo admins)

In editsettings.cgi we actually do:

$user->in_group('tweakparams')
  || ThrowUserError("auth_failure", {group  => "tweakparams",
                                     action => "modify",
                                     object => "settings"});

but we have no 'settings' case in the user-error.html.tmpl template. Looks like we must modify it, since reusing 'parameters' would be kind of inappropiate.
Assignee: administration → vladd
Attached patch Version 1Splinter Review
Attachment #213810 - Flags: review?
Comment on attachment 213810 [details] [diff] [review]
Version 1

looks good. r=LpSolit
Attachment #213810 - Flags: review? → review+
Status: NEW → ASSIGNED
Flags: approval?
Flags: approval2.22?
Flags: approval2.20?
Severity: normal → minor
Version: unspecified → 2.20.1
Flags: approval?
Flags: approval2.22?
Flags: approval2.22+
Flags: approval2.20?
Flags: approval2.20+
Flags: approval+
Checking in template/en/default/global/user-error.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl,v  <--  user-error.html.tmpl
new revision: 1.154; previous revision: 1.153
done

Checking in template/en/default/global/user-error.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl,v  <--  user-error.html.tmpl
new revision: 1.145.2.2; previous revision: 1.145.2.1
done

Checking in template/en/default/global/user-error.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl,v  <--  user-error.html.tmpl
new revision: 1.115.2.10; previous revision: 1.115.2.9
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: