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

Impossible to change(add/delete) personal permissions via Poulpe

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2 Larks
    • Fix Version/s: 3.2 Larks
    • Environment:

      JCommune 3.2.2945.5d0cf24(qa), 3.2.2943.b81dc57(preprod)

    • Sprint:
      3.2 Larks

      Description

      Precondition:
      Usergroup which contains User should be created in poulpe. Usergroup shouldn't be in 'Restricted'. User shouldn't be a member of other usergroups (which might be in 'Allowed' or 'Restricted').

      Steps to reproduce:

      1. In poulpe (http://qa.jtalks.org/poulpe/, http://preprod.jtalks.org/poulpe/) open Users -> Personal permissions page.
      2. Add group which contains User to "Allowed" in SEND_PRIVATE_MESSAGES, EDIT_OWN_PROFILE, EDIT_OTHERS_PROFILE.
      3. Delete group which contains User from "Allowed" in SEND_PRIVATE_MESSAGES, EDIT_OWN_PROFILE, EDIT_OTHERS_PROFILE.

      AR: User doesn't get/lose permissions after steps 2, 3.
      Upd: personal permissions is changed in a 1-2 day delay. Presence or absence usergroup in 'Allowed' doesn't impact to permissions appearing/loss (i.e., adding/deleting permissions to user that hadn't permission before, leads to appearing permission after 2 days, despite user's usergroup isn't in 'Allowed' at this moment. Also deleting/adding permissions to user that had permission before, leads to disappearing permission after 2 days, despite user's usergroup presents in 'Allowed' at this moment.)
      ER: User gets appropriate permissions after step 2 and lose them after steps 3.

        Attachments

          Issue Links

            Activity

            Hide
            ctapobep Stanislav Bashkyrtsev added a comment -

            Mikhail Stryzhonak, AFAIR you or Maksim Reshetov changed something with cache configuration - maybe it was a mistake

            Show
            ctapobep Stanislav Bashkyrtsev added a comment - Mikhail Stryzhonak , AFAIR you or Maksim Reshetov changed something with cache configuration - maybe it was a mistake
            Hide
            masyan Maksim Reshetov added a comment -

            I didn't change

            Show
            masyan Maksim Reshetov added a comment - I didn't change
            Hide
            jenkins Jenkins Bot added a comment -

            SUCCESS: Integrated in Poulpe. Run Unit Tests #358
            JC-2257 Avoid of usage default cache configuration in acl cache (mixas.27: a8646a368467d258cef118c778c307dafc97b635)

            Show
            jenkins Jenkins Bot added a comment - SUCCESS: Integrated in Poulpe. Run Unit Tests #358 JC-2257 Avoid of usage default cache configuration in acl cache (mixas.27: a8646a368467d258cef118c778c307dafc97b635 )
            Hide
            virtus80 virtus added a comment - - edited

            Build: JCommune 3.2.2952.ce6f9e4 (qa, preprod), poulpe 2.1.358.a8646a3 (qa, preprod)
            Test scenario:

              qa instance preprod instance
            Add EDIT_OWN_PROFILE
            Delete EDIT_OWN_PROFILE
            Add EDIT_OTHERS_PROFILE
            Delete EDIT_OTHERS_PROFILE
            Add SEND_PRIVATE_MESSAGES
            Delete SEND_PRIVATE_MESSAGES

            Test results:
            Issue can be closed.

            Show
            virtus80 virtus added a comment - - edited Build : JCommune 3.2.2952.ce6f9e4 (qa, preprod), poulpe 2.1.358.a8646a3 (qa, preprod) Test scenario :   qa instance preprod instance Add EDIT_OWN_PROFILE Delete EDIT_OWN_PROFILE Add EDIT_OTHERS_PROFILE Delete EDIT_OTHERS_PROFILE Add SEND_PRIVATE_MESSAGES Delete SEND_PRIVATE_MESSAGES Test results : Issue can be closed .

              People

              • Assignee:
                virtus80 virtus
                Reporter:
                virtus80 virtus
              • Votes:
                0 Vote for this issue
                Watchers:
                Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel