I suspect the groups for a user is stored on the user object, right? Just open bin/debug on staging and grab the object.
Nat got with me an hour ago and gave me a walkthrough on what’s happening. I recorded the screen so I could put it somewhere (let me know if it would help). In a nutshell:
- He showed me how, in GSA, he adds a user AndyHaupert to the FeatureAdmins group
- He then logs in as that user and goes to a post in /offices/budapest/forums/budapest.news
- That user doesn’t see the “Edit” or “Delete” actions on a post
- As KarlAdmin, though, the ACL looks correct
So the diagnosis appears to either be:
- That user should be in the group, but isn’t
- The template/view code which shows the actions, isn’t correctly doing has_permission
—Paul
> On May 9, 2016, at 3:30 PM, Carlos de la Guardia <email address hidden> wrote:
>
> So, how can I check if a user has this group from Karl?
>
> --
> You received this bug notification because you are subscribed to KARL4.
> Matching subscriptions: KARL4
> https://bugs.launchpad.net/bugs/1450132
>
> Title:
> Permissions on Office New Forums Not Working
>
> Status in KARL4:
> In Progress
>
> Bug description:
> The ACL permissions on Office News Forums don't seem to be properly
> inheriting. Paul and I attempted to update permissions at the
> following link, with no success:
>
> https://karl.soros.org/offices/budapest/forums/budapest-
> news/edit_acl.html
>
> Please investigate.
>
> Thanks!
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl4/+bug/1450132/+subscriptions
I suspect the groups for a user is stored on the user object, right? Just open bin/debug on staging and grab the object.
Nat got with me an hour ago and gave me a walkthrough on what’s happening. I recorded the screen so I could put it somewhere (let me know if it would help). In a nutshell:
- He showed me how, in GSA, he adds a user AndyHaupert to the FeatureAdmins group
- He then logs in as that user and goes to a post in /offices/ budapest/ forums/ budapest. news
- That user doesn’t see the “Edit” or “Delete” actions on a post
- As KarlAdmin, though, the ACL looks correct
So the diagnosis appears to either be:
- That user should be in the group, but isn’t
- The template/view code which shows the actions, isn’t correctly doing has_permission
—Paul
> On May 9, 2016, at 3:30 PM, Carlos de la Guardia <email address hidden> wrote: /bugs.launchpad .net/bugs/ 1450132 /karl.soros. org/offices/ budapest/ forums/ budapest- /bugs.launchpad .net/karl4/ +bug/1450132/ +subscriptions
>
> So, how can I check if a user has this group from Karl?
>
> --
> You received this bug notification because you are subscribed to KARL4.
> Matching subscriptions: KARL4
> https:/
>
> Title:
> Permissions on Office New Forums Not Working
>
> Status in KARL4:
> In Progress
>
> Bug description:
> The ACL permissions on Office News Forums don't seem to be properly
> inheriting. Paul and I attempted to update permissions at the
> following link, with no success:
>
> https:/
> news/edit_acl.html
>
> Please investigate.
>
> Thanks!
>
> To manage notifications about this bug go to:
> https:/