Uploaded image for project: 'Poulpe'
  1. Poulpe
  2. POULPE-392

It should be impossible to remove Registered Users, Banned and Administrators

VotersWatchers
    XMLWordPrintable

    Details

      Description

      Error 500 is shown after log In in JCommune for all registered users if one of these groups have been deleted.
      Following exception is shown in the log in this case

      Aug 13, 2012 9:31:38 PM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet spring-dispatcher threw exception
      org.jtalks.common.security.acl.GroupAce$ObsoleteAclException: A group with ID [11] was removedbut this ID is still registered as a Permission owner (SID) in ACL tables. To resolve this issue you should manually remove records from ACL tables Note, that this is a bug and this issue should be reported to be corrected in future versions.
      at org.jtalks.common.security.acl.GroupAce.throwIfNull(GroupAce.java:78)
      at org.jtalks.common.security.acl.GroupAce.getGroup(GroupAce.java:39)
      at org.jtalks.jcommune.service.security.AclGroupPermissionEvaluator.isGrantedForGroup(AclGroupPermissionEvaluator.java:265)
      at org.jtalks.jcommune.service.security.AclGroupPermissionEvaluator.isGrantedForGroup(AclGroupPermissionEvaluator.java:244)
      at org.jtalks.jcommune.service.security.AclGroupPermissionEvaluator.isAllowedForGroup(AclGroupPermissionEvaluator.java:210)
      at org.jtalks.jcommune.service.security.AclGroupPermissionEvaluator.hasPermission(AclGroupPermissionEvaluator.java:103)
      at org.jtalks.jcommune.web.tags.HasPermission.doStartTag(HasPermission.java:91)

      Acceptance criteria:

      • No menu item 'Delete' should appear near groups with respective names (even if someone created a group with the same name).

        Attachments

          Structure

            Activity

              People

              • Assignee:
                anna_s Anna Shcherbinina
                Reporter:
                julik Julia Atlygina
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 8h Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 12h 50m
                  12h 50m

                    Structure Helper Panel