On 15-Mar-08, at 9:56 PM, David E. Wheeler wrote:
> On Mar 15, 2008, at 17:40, Dawn Buie wrote:
>
>> HI All,
>>
>> I made a new simple Super User group and assigned a
new user to it.
>> The new use is able to access all workflows and
stories as expect.
>> However when I assigned my 'real' user (the one I
was dong all the
>> testing with) to have the exact same Super User
user group, no
>> workflows appear. (Note - I have tried logging in
as my user on
>> firefox too, and restarting my browsers - and I
still get the same
>> result ).
>
> Could the user be a member of some other group that
DENYs access to
> workflows?
No - I deleted all the extra groups and was just left with
the default
ALL groups. And I looked for DENY's and there were none.
>
>
>> I did look at the database to see how group ids
were being assigned
>> to the new user and the old 'real' user. As far as
I can tell the
>> old user has had some member__id s set to false,
which is good -
>> but I don't know if one group has been left as true
when it should
>> be false. Maybe there is some SQL I could use to
delete all the old
>> group associations for this user?
>
> Oy. I've don't recall ever seeing a permission issue
that was
> resolved by modifying the database directly. But if
your new user
> and real user are in exactly the same user groups but
things look
> different, then it certainly would suggest a difference
between
> them. And if it's because the real user is still a
member of the
> broken group you were testing (though disabled), that
*might* be it.
> Hrm...it sure looks like the various queries properly
exclude
> inactive group memberships. You'd probably have to put
some
> debugging in Bric::Biz::Person::User::what_can to see
what group IDs
> get processed and what their values are.
That sounds tiring.
I may just tell the real person represented by this
now-screwed up
User account that I'm sorry but she'll just have to be
someone new but
with fabulous new powers.
I suspect this could be a bug but I hope I never repeat it.
thanks
Dawn
>
>
> HTH,
>
> David
>
|