Re: Created plugins are not showing up in DEV Environment

2020-11-13 Thread Daors Islami
Thank you Schumann, I am trying it right now and I see that in the table
SECURITY_PERMISSION my plugin is not inserted there so now I'm gonna give
it a shot at what you said
and will let you know if it worked for me, also I tried to search at ofbiz
jira about your ticket but couldn't seem to find it, can you provide me
with a link

Thank you again man,
Best Regard,
Daors

On Fri, Nov 13, 2020 at 12:22 PM Schumann Ye 
wrote:

> Dear Doars,
>
> It's normally the authorization issue.  You just have to assign to your
> account with the newly created plugin permission.
>
> If you don't know where to find it,  you can try to look into the database
> table SECURITY_PERMISSION and see if your newly created plugin has been
> inserted there.
>
> If no,  it's likely your script doesn't work so you have to run gradlew
> "ofbiz --load-data readers=seed".
>
> Then try to run gradlew ofbiz.
> In case you still can't see it,  you just need to assign to your account
> with the proper authorization.
> For the details you can look at my previous jira ofbiz ticket.
>
> HIH
> mvh
> Schumann
>
> Get Outlook for Android
>
> 
> 发件人: Gil Portenseigne 
> 发送时间: 2020年11月13日星期五 17:40
> 收件人: user@ofbiz.apache.org
> 主题: Re: Created plugins are not showing up in DEV Environment
>
> Hello Daors,
>
> After installing your plugin, do you have it present in plugins folder
> in OFBiz root directory ?
> If so have you defined a webapp in its ofbiz-component.xml with the
> property :
> app-bar-display="true"
>
> Regards,
>
> Gil
>
> On Fri, Nov 13, 2020 at 09:35:39AM -, Daors wrote:
> > Hello OFBiz Community!
> >
> > I will try to describe the problem fast therefore not losing too much of
> your time, I deployed the OFBiz
> > into a web server online but there's a problem, the plugins that I
> created are not being shown or listed in the main menu tabs, there where
> the other webapps are displayed.
> >
> > I have tried installing the plugin when I created via the command:
> > `gradlew installPlugin -PpluginId=myplugin`
> >
> > I also tried building, cleaning, re-building and still when I deploy it
> to web server my created plugins are not being shown, am I missing
> something?
> >
> > Thank you for your time, really appreciate it.
> >
> > Best regards,
> > Daors
>
>


Re: Created plugins are not showing up in DEV Environment

2020-11-13 Thread Schumann Ye
Dear Doars,

It's normally the authorization issue.  You just have to assign to your account 
with the newly created plugin permission.

If you don't know where to find it,  you can try to look into the database 
table SECURITY_PERMISSION and see if your newly created plugin has been 
inserted there.

If no,  it's likely your script doesn't work so you have to run gradlew "ofbiz 
--load-data readers=seed".

Then try to run gradlew ofbiz.
In case you still can't see it,  you just need to assign to your account with 
the proper authorization.
For the details you can look at my previous jira ofbiz ticket.

HIH
mvh
Schumann

Get Outlook for Android


发件人: Gil Portenseigne 
发送时间: 2020年11月13日星期五 17:40
收件人: user@ofbiz.apache.org
主题: Re: Created plugins are not showing up in DEV Environment

Hello Daors,

After installing your plugin, do you have it present in plugins folder
in OFBiz root directory ?
If so have you defined a webapp in its ofbiz-component.xml with the
property :
app-bar-display="true"

Regards,

Gil

On Fri, Nov 13, 2020 at 09:35:39AM -, Daors wrote:
> Hello OFBiz Community!
>
> I will try to describe the problem fast therefore not losing too much of your 
> time, I deployed the OFBiz
> into a web server online but there's a problem, the plugins that I created 
> are not being shown or listed in the main menu tabs, there where the other 
> webapps are displayed.
>
> I have tried installing the plugin when I created via the command:
> `gradlew installPlugin -PpluginId=myplugin`
>
> I also tried building, cleaning, re-building and still when I deploy it to 
> web server my created plugins are not being shown, am I missing something?
>
> Thank you for your time, really appreciate it.
>
> Best regards,
> Daors



Re: Created plugins are not showing up in DEV Environment

2020-11-13 Thread Gil Portenseigne
Is the plugin you are installing an existing one ?

If not and you want to create a new one, please rather use createPlugin
command (explained in the Readme.adoc in OFBiz root)

HTH

Gil


On Fri, Nov 13, 2020 at 11:01:50AM +0100, Daors Islami wrote:
> Hey Gil thank you for your response,
> 
> No I did not, and now I tried it but it is still not showing up at the main
> tab menu, are there any other things that I might have missed?
> 
> Thank you so much,
> Daors
> 
> On Fri, Nov 13, 2020 at 10:40 AM Gil Portenseigne <
> gil.portensei...@nereide.fr> wrote:
> 
> > Hello Daors,
> >
> > After installing your plugin, do you have it present in plugins folder
> > in OFBiz root directory ?
> > If so have you defined a webapp in its ofbiz-component.xml with the
> > property :
> > app-bar-display="true"
> >
> > Regards,
> >
> > Gil
> >
> > On Fri, Nov 13, 2020 at 09:35:39AM -, Daors wrote:
> > > Hello OFBiz Community!
> > >
> > > I will try to describe the problem fast therefore not losing too much of
> > your time, I deployed the OFBiz
> > > into a web server online but there's a problem, the plugins that I
> > created are not being shown or listed in the main menu tabs, there where
> > the other webapps are displayed.
> > >
> > > I have tried installing the plugin when I created via the command:
> > > `gradlew installPlugin -PpluginId=myplugin`
> > >
> > > I also tried building, cleaning, re-building and still when I deploy it
> > to web server my created plugins are not being shown, am I missing
> > something?
> > >
> > > Thank you for your time, really appreciate it.
> > >
> > > Best regards,
> > > Daors
> >


signature.asc
Description: PGP signature


Re: Created plugins are not showing up in DEV Environment

2020-11-13 Thread Daors Islami
Hey Gil thank you for your response,

No I did not, and now I tried it but it is still not showing up at the main
tab menu, are there any other things that I might have missed?

Thank you so much,
Daors

On Fri, Nov 13, 2020 at 10:40 AM Gil Portenseigne <
gil.portensei...@nereide.fr> wrote:

> Hello Daors,
>
> After installing your plugin, do you have it present in plugins folder
> in OFBiz root directory ?
> If so have you defined a webapp in its ofbiz-component.xml with the
> property :
> app-bar-display="true"
>
> Regards,
>
> Gil
>
> On Fri, Nov 13, 2020 at 09:35:39AM -, Daors wrote:
> > Hello OFBiz Community!
> >
> > I will try to describe the problem fast therefore not losing too much of
> your time, I deployed the OFBiz
> > into a web server online but there's a problem, the plugins that I
> created are not being shown or listed in the main menu tabs, there where
> the other webapps are displayed.
> >
> > I have tried installing the plugin when I created via the command:
> > `gradlew installPlugin -PpluginId=myplugin`
> >
> > I also tried building, cleaning, re-building and still when I deploy it
> to web server my created plugins are not being shown, am I missing
> something?
> >
> > Thank you for your time, really appreciate it.
> >
> > Best regards,
> > Daors
>


Re: Created plugins are not showing up in DEV Environment

2020-11-13 Thread Gil Portenseigne
Hello Daors,

After installing your plugin, do you have it present in plugins folder
in OFBiz root directory ?
If so have you defined a webapp in its ofbiz-component.xml with the
property : 
app-bar-display="true"

Regards,

Gil

On Fri, Nov 13, 2020 at 09:35:39AM -, Daors wrote:
> Hello OFBiz Community!
> 
> I will try to describe the problem fast therefore not losing too much of your 
> time, I deployed the OFBiz
> into a web server online but there's a problem, the plugins that I created 
> are not being shown or listed in the main menu tabs, there where the other 
> webapps are displayed.
> 
> I have tried installing the plugin when I created via the command:
> `gradlew installPlugin -PpluginId=myplugin`
> 
> I also tried building, cleaning, re-building and still when I deploy it to 
> web server my created plugins are not being shown, am I missing something?
> 
> Thank you for your time, really appreciate it.
> 
> Best regards,
> Daors


signature.asc
Description: PGP signature


Created plugins are not showing up in DEV Environment

2020-11-13 Thread Daors
Hello OFBiz Community!

I will try to describe the problem fast therefore not losing too much of your 
time, I deployed the OFBiz
into a web server online but there's a problem, the plugins that I created are 
not being shown or listed in the main menu tabs, there where the other webapps 
are displayed.

I have tried installing the plugin when I created via the command:
`gradlew installPlugin -PpluginId=myplugin`

I also tried building, cleaning, re-building and still when I deploy it to web 
server my created plugins are not being shown, am I missing something?

Thank you for your time, really appreciate it.

Best regards,
Daors


Re: Project manager error message

2020-11-13 Thread Schumann Ye
Dear Dominic,

Not sure which version you are using.
Ofbiz is released in 17.12.04 with OOTB 2 security groups PROJECTADMIN & 
PROJECTUSER.
However these 2 groups don't cover all the necessary permissions that you need 
to run the Project Module.

For example, if you work as the project module ADMIN in ofbiz, you must use the 
admin user login to assign the necessary permission like PROJECTMGR_ADMIN to 
the associated Security Group and then to the user login.

The OOTB PROJECTADMIN & PROJECTUSER is only applying for the projects created 
later on, that is also assigned or associated with the resources (user login) 
with the correct roles (Project_Teams) and Provider_Manager (for Project 
Manager) or Provider Functional Empl (for project team members).

HIH.
Mvh
Schumann


From: Dominic Amann 
Sent: Friday, November 13, 2020 5:57 AM
To: user@ofbiz.apache.org 
Subject: Project manager error message

I have a project as admin, and I then gave a user PROJECT_ADMIN privilege
(and PROJECTADMIN and PROJECT ADMIN), but that user always gets an error
message when I select the project menu:

ava.lang.IllegalArgumentException: Error running script at location
[component://projectmgr/groovyScripts/ListCurrentProjects.groovy]:
org.apache.ofbiz.service.ServiceAuthException: You have no access to the
project#: 9000

I can go to other (non main) project module menus, but not the main.

--


Dominic Amann

M 416-270-4587