[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #9560(accepted survey)

Opened 11 months ago

Last modified 4 months ago

spurious 'account is locked' for guest users

Reported by: srl Owned by: parth
Component: survey-ui-design Data Locale:
Phase: rc Review:
Weeks: Data Xpath:
Xref:

Description

Really not sure why userIsLocked was implemented such in r10577
but guest users see a "YOUR ACCOUNT IS LOCKED!" message under the gear, but are still able to vote.

(actual locked users get pretty much a blank page.)

The fix is trivial.

Index: tools/cldr-apps/WebContent/WEB-INF/tmpl/ajax_status.jsp
===================================================================
--- tools/cldr-apps/WebContent/WEB-INF/tmpl/ajax_status.jsp	(revision 12706)
+++ tools/cldr-apps/WebContent/WEB-INF/tmpl/ajax_status.jsp	(working copy)
@@ -117,7 +117,7 @@
         userCanUseVettingSummary: <%= UserRegistry.userCanUseVettingSummary(myUser) %>,
         userIsTC: <%=UserRegistry.userIsTC(myUser) %>,
         userIsVetter: <%= !UserRegistry.userIsTC(myUser) && UserRegistry.userIsVetter(myUser)%>,
-        userIsLocked: <%= !UserRegistry.userIsTC(myUser) && !UserRegistry.userIsVetter(myUser) && !UserRegistry.userIsLocked(myUser)%>,
+        userIsLocked: <%= UserRegistry.userIsLocked(myUser) %>,
         
         hasFlag: <%= haveFlags %>,
         hasDataSource: <%= curSurveyMain.dbUtils.hasDataSource() %>,

Attachments

Change History

comment:1 Changed 11 months ago by mark

  • Owner changed from anybody to srl
  • Phase changed from dsub to rc
  • Priority changed from assess to major
  • Status changed from new to accepted
  • Milestone changed from UNSCH to 30

comment:2 Changed 9 months ago by srl

  • Owner changed from srl to parth
  • Type changed from unknown to survey
  • Component changed from unknown to survey-ui-design
  • Milestone changed from 30 to 31

comment:3 Changed 4 months ago by emmons

  • Milestone changed from 31 to 32
View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.