Foros de discusión
Question about resource-action-mapping.
Alex Wallace, modificado hace 15 años.
Question about resource-action-mapping.
Liferay Master Mensajes: 640 Fecha de incorporación: 5/11/07 Mensajes recientes
Hi All!
I have a question about resource-action-mappings... I'm wanting to create a web service facade that will in one place, offer access to several data models...
To restrict access to this service I wll create a role, and the role will give permissions...
I wanted to centralize all the available actions in one resource action file, but I don't know what will happen if i list in there, under model-resource, classes that are already listed in other resource-actiction-mappings?
These classes (models) are listed in other files where they associate with the portlets they belong to...
Is it bad to list these models in different resource-action-mappings?
thanks!
I have a question about resource-action-mappings... I'm wanting to create a web service facade that will in one place, offer access to several data models...
To restrict access to this service I wll create a role, and the role will give permissions...
I wanted to centralize all the available actions in one resource action file, but I don't know what will happen if i list in there, under model-resource, classes that are already listed in other resource-actiction-mappings?
These classes (models) are listed in other files where they associate with the portlets they belong to...
Is it bad to list these models in different resource-action-mappings?
thanks!
Brian Kim, modificado hace 15 años.
RE: Question about resource-action-mapping.
Expert Mensajes: 311 Fecha de incorporación: 17/08/04 Mensajes recientes
Assuming that you are reading in the resource-action-mappings from other portlets, your model-resource and portlet-resource names will need to be unique, otherwise they will override them.
This can be used to your advantage, because it means you can override sections of our core resource-action-mappings within your own extension environment.
This can be used to your advantage, because it means you can override sections of our core resource-action-mappings within your own extension environment.