Ignore:
Timestamp:
03/02/12 11:40:53 (12 years ago)
Author:
acoutinho
Message:

Ticket #2434 - Correcao no conflito de permissoes de eventos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/calendar/js/calendar.codecs.js

    r5596 r5608  
    638638                            status: !!participantInfo.user ? participantInfo.user.status : 1, 
    639639                                acl: !!participantInfo.user ? constantAcl(participantInfo.user.acl) : constantAcl( 'rowi' ), 
    640                                 isShared: (!!objEvent.calendar) && parseInt(Calendar.signatureOf[objEvent.calendar].isOwner) ? true : false, 
     640                                isShared: !this.id ? false : (!!objEvent.calendar) && parseInt(Calendar.signatureOf[objEvent.calendar].isOwner) ? false : true, 
    641641                            me: !!participantInfo.user ? DataLayer.merge(participantInfo.user, me) : DataLayer.merge(this.isShared ? this.organizer :  me, {acl:  !this.isShared ? 'rowi' : Calendar.signatureOf[objEvent.calendar].permission.aclValues, delegatedFrom: 0, receiveNotification: 1}), 
    642642                                delegatedFrom: delegatedFrom, 
Note: See TracChangeset for help on using the changeset viewer.