Message Boards

Liferay Permissions without portlet

Robert Paul Meissner, modified 3 Years ago.

Liferay Permissions without portlet

New Member Posts: 12 Join Date: 2/7/20 Recent Posts
Hi again,
i am trying to create a JSON WebService, that has permissions on the Models only, but in default.xml a portlet-ref is mandatory (see: http://www.liferay.com/dtd/liferay-resource-action-mapping_7_2_0.dtd).

Why is that? I want to use the JSON WebService methods as described here: https://help.liferay.com/hc/en-us/articles/360018166311-Creating-Remote-Services#using-service-builder-to-generate-remote-services without a portlet-web project. ( I want to consume the JSON WebService by another Vue Portlet via the JavaSciprt Liferay object.)

Any help appreciated.

Best regards