Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-931

Unbind JCommune from using group IDs for pre-defined groups

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.20 Larks
    • Fix Version/s: 0.20 Larks
    • Labels:
      None
    • Sprint:
      1.4 Larks

      Description

      At the moment our DB migration creates groups like Administrators with ID as a constant (13). And we use this ID in our code. We need:

      1. Correct migration to insert groups only if they don't exist
      2. Remove usage of IDs in the code and use group names instead

      One of ways of testing that everything works:

      1. Create a clean database
      2. Start Poulpe and see that Administratos group exists in GROUPS table
      3. Start JCommune and see that there is no new group with name Administrators

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  varro Artem R
                  Reporter:
                  ctapobep Stanislav Bashkyrtsev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 5h Original Estimate - 5h
                    5h
                    Remaining:
                    Remaining Estimate - 0h
                    0h
                    Logged:
                    Time Spent - 11h
                    11h

                      Structure Helper Panel