Vue combinée Vue Plate Arborescence
toggle
Samita Bhujbal
Changing groupId in calevent table
5 juillet 2013 06:12
Réponse

Samita Bhujbal

Rang: Regular Member

Publications: 120

Date d'inscription: 5 juillet 2011

Publications Récentes

Is it feasible to change groupId in calevent table??
Ray Augé
RE: Changing groupId in calevent table
5 juillet 2013 07:06
Réponse

Ray Augé

LIFERAY STAFF

Rang: Liferay Legend

Publications: 1195

Date d'inscription: 7 février 2005

Publications Récentes

Only if you take care to follow all associations and do the same.

Otherwise you may have severe problems with this like permissions, assets components (tags, categories), etc.
Tonu Sri
RE: Changing groupId in calevent table
5 juillet 2013 10:42
Réponse

Tonu Sri

Rang: Regular Member

Publications: 196

Date d'inscription: 15 avril 2011

Publications Récentes

Hi Samita,

As explained by Ray, You can change it but you have to take care about all dependencies for example userId , CompanyId, assets etc.

But I wanted to know, what is your use case?

Thanks:
Tonu
Thiago Leão Moreira
RE: Changing groupId in calevent table
5 juillet 2013 12:48
Réponse

Thiago Leão Moreira

LIFERAY STAFF

Rang: Liferay Legend

Publications: 1431

Date d'inscription: 10 octobre 2007

Publications Récentes

One use case is push an asset to the global scope.
Tonu Sri
RE: Changing groupId in calevent table
5 juillet 2013 20:44
Réponse

Tonu Sri

Rang: Regular Member

Publications: 196

Date d'inscription: 15 avril 2011

Publications Récentes

Hi Thiago,

If that's the case, then they should take care userId also, only change in groupId is not going to work.

If they have any user who has permission for adding CalEvent in their organization or Site and not having access to Global Calendar.

In this case they will face issue if they are not having proper constraints.

Thanks:
Tonu