Hello San,

It means that you didn't imported the permissions from the new component.
You can import them with the proper Gradle task or manually import the XML
data them from Webtools application.
You can find the XML permission data inside the data/ directory of the
component in files names <Your-comp-name>SecurityPermission.xml.
Once you imported the security permission into your tenant, logout and
login again: now you should see your new component listed in the menĂ¹ bar.

Giulio

On Mon, Jun 17, 2024, 21:14 Sankatha Bamunuge <[email protected]> wrote:

> Hi All
>
> I am very new to Ofbiz. I have enabled multi-tenant in Ofbiz and configured
> two tenants. I have followed the
>
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide+for+Release+18.12+and+Release+22.01
> tutorial
> and just created a custom plugin with a simple label. When I log into a
> tenant using super user (admin, Ofbiz), I cannot see the custom component I
> created on the menu as expected. I think I may be missing something very
> simple. No errors on logs and seems like the custom component is loading
> its config. I did a cleanAll and loadAll several times and restarted Ofbiz.
> When I go to https://<mytenanturl>/<custom-component-name> and try to
> login, I get "You cannot login to this application"
>
> Please help
>
> Kind regards
> San
>

Reply via email to