[prev in list] [next in list] [prev in thread] [next in thread]
List: bricolage-general
Subject: Re: output channels in bric 2.0
From: Zdravko Balorda <zdravko.balorda () siix ! com>
Date: 2010-10-18 6:55:05
Message-ID: 4CBBEF49.2010903 () siix ! com
[Download RAW message or body]
I'll report a bug. I already have a fix, too:
% my $sid = $story->get_site_id;
% my $all_ocs = [
% grep { $_->get_site_id == $sid && !$curr_ocs->{$_->get_id} && chk_authz($_, READ, 1) }
%# grep { ! $curr_ocs->{$_->get_id} && chk_authz($_, READ, 1) }
% $story->get_element_type->get_output_channels
% ];
in the code from
comp/widgets/story_prof/list_output_channels.html
Regards, Zdravko
David E. Wheeler wrote:
> On Oct 17, 2010, at 10:19 PM, Zdravko Balorda wrote:
>
>> then I just don't understand why? This is prone to error, since
>> ataching some OC for a different site is meaningless to a user.
>> I don't mind making groups for this, but this seems to be a matter
>> of context rather than a matter of permissions. It used to work
>> just fine. :)
>
> It sure sounds like a bug, though I don't see how. It is not the correct or expected behavior.
>
> Best,
>
> David
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic