Moving Reference Manual Sections is Available to All Staff

Bug #965270 reported by Nat Katin-Borland
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
JimPGlenn

Bug Description

Oxfam folks pointed out that any staff user can move Reference Manual sections with in Reference Manuals. This means that anyone can mess with the organizations of reference manuals. Only staff with admin permissions for those content areas and KARL Admins should be able to do this.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Jim, I'm putting this in the future, but wanted you to do two things:

- Put whatever tags on this are needed. Perhaps "referencemanual"

- See if you can recreate this on karlstaging

Changed in karl3:
assignee: nobody → JimPGlenn (jpglenn09)
importance: Undecided → Medium
milestone: none → m98
Changed in karl3:
milestone: m98 → m100
Revision history for this message
JimPGlenn (jpglenn09) wrote :

Paul,

quick check on staging and staff cannot update reference manuals.

Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 965270] Re: Moving Reference Manual Sections is Available to All Staff

Right, I wasn't closing this ticket, just moving it out of the way. It isn't part of the UX2 work.

--Paul

On Apr 9, 2012, at 10:19 AM, JimPGlenn wrote:

> Paul,
>
> quick check on staging and staff cannot update reference manuals.
>
> --
> You received this bug notification because you are subscribed to KARL3.
> https://bugs.launchpad.net/bugs/965270
>
> Title:
> Moving Reference Manual Sections is Available to All Staff
>
> Status in KARL3:
> New
>
> Bug description:
> Oxfam folks pointed out that any staff user can move Reference Manual
> sections with in Reference Manuals. This means that anyone can mess
> with the organizations of reference manuals. Only staff with admin
> permissions for those content areas and KARL Admins should be able to
> do this.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl3/+bug/965270/+subscriptions

Revision history for this message
JimPGlenn (jpglenn09) wrote :

I could not update reference manuals unless I had admin privileges therefore cannot recreate on staging.

tags: added: referencemauals
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Chris, this might be something unique to Oxfam's customization or worse, content.

Changed in karl3:
assignee: JimPGlenn (jpglenn09) → Chris Rossi (chris-archimedeanco)
milestone: m100 → m102
Changed in karl3:
milestone: m102 → m107
Changed in karl3:
milestone: m107 → m108
Changed in karl3:
milestone: m108 → m111
Changed in karl3:
milestone: m111 → m110
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Sharing some work with Carlos, in case he is working this weekend.

Changed in karl3:
assignee: Chris Rossi (chris-archimedeanco) → Carlos de la Guardia (cguardia)
Revision history for this message
Carlos de la Guardia (cguardia) wrote :

This was a general Karl problem. Manuals could not be edited, but it was possible to move sections and pages.

Pushed fix to cguardia-move-manual-permissions branch.

Changed in karl3:
status: New → Fix Committed
Revision history for this message
JimPGlenn (jpglenn09) wrote :

I cannot find cguardia-move-manual-permissions branch

Changed in karl3:
status: Fix Committed → In Progress
Revision history for this message
Carlos de la Guardia (cguardia) wrote :

Deployed branch

Changed in karl3:
status: In Progress → Fix Committed
Revision history for this message
JimPGlenn (jpglenn09) wrote :

looks good

tags: added: tested
Revision history for this message
Nat Katin-Borland (nborland) wrote :

Still broken. The only people that should be able to edit or re-order a reference manual are the editors for that section and KARL Admins. I can login as any staff user in the system and re-order any reference manual.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Thanks for catching this. Sorry our testing didn't catch it.

--Paul

On Aug 15, 2012, at 2:04 PM, Nat Katin-Borland wrote:

> Still broken. The only people that should be able to edit or re-order
> a reference manual are the editors for that section and KARL Admins. I
> can login as any staff user in the system and re-order any reference
> manual.
>
> --
> You received this bug notification because you are subscribed to KARL3.
> https://bugs.launchpad.net/bugs/965270
>
> Title:
> Moving Reference Manual Sections is Available to All Staff
>
> Status in KARL3:
> Fix Committed
>
> Bug description:
> Oxfam folks pointed out that any staff user can move Reference Manual
> sections with in Reference Manuals. This means that anyone can mess
> with the organizations of reference manuals. Only staff with admin
> permissions for those content areas and KARL Admins should be able to
> do this.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl3/+bug/965270/+subscriptions

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Chris, is this one that should be fixed by adjusting the ACL in content, or in software? I suspect this is an OSF policy on who is allowed, which means it needs to in a content ACL.

--Paul

On Aug 15, 2012, at 2:04 PM, Nat Katin-Borland wrote:

> Still broken. The only people that should be able to edit or re-order
> a reference manual are the editors for that section and KARL Admins. I
> can login as any staff user in the system and re-order any reference
> manual.
>
> --
> You received this bug notification because you are subscribed to KARL3.
> https://bugs.launchpad.net/bugs/965270
>
> Title:
> Moving Reference Manual Sections is Available to All Staff
>
> Status in KARL3:
> Fix Committed
>
> Bug description:
> Oxfam folks pointed out that any staff user can move Reference Manual
> sections with in Reference Manuals. This means that anyone can mess
> with the organizations of reference manuals. Only staff with admin
> permissions for those content areas and KARL Admins should be able to
> do this.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl3/+bug/965270/+subscriptions

Revision history for this message
Nat Katin-Borland (nborland) wrote :

Still broken

Revision history for this message
Carlos de la Guardia (cguardia) wrote :

The problem here is that the branch was never merged. Chris pointed out that my fix merely removed the move buttons, but did not actually take the permission away. I was going to review it and forgot to reopen it. Sorry.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Back to "In Progress" for next week.

Changed in karl3:
milestone: m110 → m116
status: Fix Committed → In Progress
Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

I believe Carlos is already working on this and has a branch for it.
I didn't merge it earlier because I saw that the branch only hid the
option in the UI, but didn't actually disable it at the ACL level, so
I kicked it back to Carlos and the branch is awaiting that fix, afaik.

Chris

On Wed, Aug 15, 2012 at 2:23 PM, Paul Everitt <email address hidden> wrote:
>
> Chris, is this one that should be fixed by adjusting the ACL in content, or in software? I suspect this is an OSF policy on who is allowed, which means it needs to in a content ACL.
>
> --Paul
>
> On Aug 15, 2012, at 2:04 PM, Nat Katin-Borland wrote:
>
>> Still broken. The only people that should be able to edit or re-order
>> a reference manual are the editors for that section and KARL Admins. I
>> can login as any staff user in the system and re-order any reference
>> manual.
>>
>> --
>> You received this bug notification because you are subscribed to KARL3.
>> https://bugs.launchpad.net/bugs/965270
>>
>> Title:
>> Moving Reference Manual Sections is Available to All Staff
>>
>> Status in KARL3:
>> Fix Committed
>>
>> Bug description:
>> Oxfam folks pointed out that any staff user can move Reference Manual
>> sections with in Reference Manuals. This means that anyone can mess
>> with the organizations of reference manuals. Only staff with admin
>> permissions for those content areas and KARL Admins should be able to
>> do this.
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/karl3/+bug/965270/+subscriptions
>

JimPGlenn (jpglenn09)
tags: removed: tested
Revision history for this message
Carlos de la Guardia (cguardia) wrote :

Committed fix to cguardia-move-manual branch.

Changed in karl3:
status: In Progress → Fix Committed
Revision history for this message
JimPGlenn (jpglenn09) wrote :

I cannot test on dev/cguardia-move-manual because there are no reference manuals.

Changed in karl3:
assignee: Carlos de la Guardia (cguardia) → Paul Everitt (paul-agendaless)
milestone: m116 → none
Changed in karl3:
milestone: none → m117
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Jim, if you can test this:

https://karldev.gocept.com/cguardia-move-manual/osf/offices/files/reference-manuals/employee-handbook/

...we can get this out the door today and merge it.

Changed in karl3:
assignee: Paul Everitt (paul-agendaless) → JimPGlenn (jpglenn09)
Revision history for this message
JimPGlenn (jpglenn09) wrote :

staff and affiliate view only admin update, move, view looks good

tags: added: tested
tags: added: r3.95
tags: added: cguardia-move-manual
tags: added: branch-cguardia-move-manual
removed: cguardia-move-manual
Revision history for this message
JimPGlenn (jpglenn09) wrote :

looks good on staging

Revision history for this message
JimPGlenn (jpglenn09) wrote :

fixed

Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.