Comment 21 for bug 1341390

Revision history for this message
Laercio (laercionit) wrote : Re: [Bug 1341390] Re: Schedule Now - Validation Error Permission

Dan, this item could be related in this version 1.6.4:

https://bugs.launchpad.net/xibo/+bug/1321509

*Laercio Junior*
Cel./Pessoal: (21) 99162-7440
Email Pessoal: <email address hidden>
MSN: <email address hidden>
Skype: laercionit

2014-09-06 12:18 GMT-03:00 Laercio Mendonça <email address hidden>:

> The problem of Schedule Now this resolved.
> Just to SCHEDULE_WITH_VIEW_PERMISSION = NO, the link found trouble editing
> event
> Test case:
> 3 displays for the user Artivinco
> Artivinco Itatiba-and-Artivinco SantaRosa permisson VIEW
> Display Artivinco-Claudia - Permission - EDIT
>
> [image: Imagem inline 2]
>
>
> [image: Imagem inline 1]
>
> ERROR: Can I create event for displays with permission EDIT just this
> perfect, but after creating can not edit, the event is no link.
>
> In schedule.class.php file
> 1776 Line IsEventEditable private function ($ eventDGIDs)
> 1778 line scheduleWithView = $ (Config :: GetSetting
> ('SCHEDULE_WITH_VIEW_PERMISSION') == 'Yes');
> We should have one for $ scheduleWithView = IF (Config :: GetSetting
> ('SCHEDULE_WITH_VIEW_PERMISSION') == 'NO');
>
> *Am I right or wrong in my analysis of the code?*
>
>
> *Laercio Junior*
> Cel./Pessoal: (21) 99162-7440
> Email Pessoal: <email address hidden>
> MSN: <email address hidden>
> Skype: laercionit
>
>
>
>
> 2014-09-06 10:48 GMT-03:00 Dan Garner <email address hidden>:
>
> I've found the issue with the schedule now form.
>>
>> I can't find the issue with the edit link - can you please retest that
>> making sure that ALL DISPLAYS the event is for has the edit permissions
>> required.
>>
>> ** Attachment added: "lib/pages/schedule.class.php"
>>
>> https://bugs.launchpad.net/xibo/+bug/1341390/+attachment/4197037/+files/schedule.class.php
>>
>> ** Changed in: xibo
>> Status: In Progress => Fix Committed
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1341390
>>
>> Title:
>> Schedule Now - Validation Error Permission
>>
>> Status in Xibo Open Source Digital Signage:
>> Fix Committed
>>
>> Bug description:
>> Schedule Now - Validation Error Permission
>>
>> The Schedule Now this functionality not respecting
>> SCHEDULE_WITH_VIEW_PERMISSION configuration.
>>
>> By setting displays with permission only View as images attached, the
>> user can perform scheduling.
>>
>> Blocking this only applies to the schedule via the menu / index.php? &
>> P = schedule
>>
>> The same problem happens for the Campaign Item.
>>
>>
>> Display
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/xibo/+bug/1341390/+subscriptions
>>
>
>