Opened 11 years ago
Closed 10 years ago
#1206 closed defect (fixed)
Large number of permission groups seems to break PW login
| Reported by: | dbmuqs | Owned by: | dbmulg |
|---|---|---|---|
| Priority: | medium | Milestone: | NPGS 2016_06 (Jun) |
| Component: | Public Website App. | Version: | 1.9.6 Server |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
Not exactly sure whether it is the large number of groups or some defective group or groups but several users whose CT and PW logins are the same or I have linked them in the AT suddenly can no longer log in to the PW. No error such as bad password, just no log in. In all three cases the number of groups were over 60. One user reduced the groups significantly and the login returned.
The use of roles in the login token has been suggested as the problem.
Change History (3)
comment:1 by , 10 years ago
| Status: | new → addressed |
|---|
comment:2 by , 10 years ago
| Milestone: | Post-NPGS Prod'n → NPGS 2016_06 (Jun) |
|---|
comment:3 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | addressed → closed |
Appears to work ok in npgsWEB version 1.9.7.1.
Note:
See TracTickets
for help on using tickets.

Changed the MT GetRoles method in SecureDataGetSave.cs to only return system groups as roles. This eliminates all the user defined permission groups from the list which keeps the login token from getting too large for the 4KB cookie limit. System groups are defined as belonging to user "administrator" or whatever the admin account is as defined by the config variable "SystemAdminAccountName".