Projectmgr - create new project

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Projectmgr - create new project

Pierre Smits
Hi all,

I have created a new party in OfBiz. And this party has the same roles and
security permissions as Admin.

When I log in as this new party I go to the projects overview in
projectmgr.

But with this new user I am not able to create projects from the projects
overview (i don''t see the 'New project'-button).

When I go to an existing project I do see the New project-button, and when I
click that and fill out the form and hit save I get following error:

*The Following Errors Occurred:*

*You have no access to the project#: *

Am I missing something regarding party roles and/or security settings?


Regards,


Pierre
Reply | Threaded
Open this post in threaded view
|

Re: Projectmgr - create new project

Chris Snow-3
What version of ofbiz are you using?  This topic may be helpful:

http://n4.nabble.com/project-management-td163956.html#a163956


Pierre Smits wrote:

> Hi all,
>
> I have created a new party in OfBiz. And this party has the same roles and
> security permissions as Admin.
>
> When I log in as this new party I go to the projects overview in
> projectmgr.
>
> But with this new user I am not able to create projects from the projects
> overview (i don''t see the 'New project'-button).
>
> When I go to an existing project I do see the New project-button, and when I
> click that and fill out the form and hit save I get following error:
>
> *The Following Errors Occurred:*
>
> *You have no access to the project#: *
>
> Am I missing something regarding party roles and/or security settings?
>
>
> Regards,
>
>
> Pierre
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: Projectmgr - create new project

Pierre Smits
Hi Christopher, All,

I am using the trunk.

Regards,

Pierre

2009/11/10 Christopher Snow <[hidden email]>

> What version of ofbiz are you using?  This topic may be helpful:
>
> http://n4.nabble.com/project-management-td163956.html#a163956
>
>
>
> Pierre Smits wrote:
>
>> Hi all,
>>
>> I have created a new party in OfBiz. And this party has the same roles and
>> security permissions as Admin.
>>
>> When I log in as this new party I go to the projects overview in
>> projectmgr.
>>
>> But with this new user I am not able to create projects from the projects
>> overview (i don''t see the 'New project'-button).
>>
>> When I go to an existing project I do see the New project-button, and when
>> I
>> click that and fill out the form and hit save I get following error:
>>
>> *The Following Errors Occurred:*
>>
>> *You have no access to the project#: *
>>
>> Am I missing something regarding party roles and/or security settings?
>>
>>
>> Regards,
>>
>>
>> Pierre
>>
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Projectmgr - create new project

hans_bakker
In reply to this post by Pierre Smits
Hi Pierre,

i created a new user, assigned the "fulladmin" security group logged in
as that user and could create a new project.

Indeed the 'new project' button did not appear in the business theme,
however in the good old flat grey scheme it did show up.

You can create a jira issue for the missing button, which i could
imagine could be a problem at more places than here.....

Regards,
Hans

On Tue, 2009-11-10 at 10:04 +0100, Pierre Smits wrote:

> Hi all,
>
> I have created a new party in OfBiz. And this party has the same roles and
> security permissions as Admin.
>
> When I log in as this new party I go to the projects overview in
> projectmgr.
>
> But with this new user I am not able to create projects from the projects
> overview (i don''t see the 'New project'-button).
>
> When I go to an existing project I do see the New project-button, and when I
> click that and fill out the form and hit save I get following error:
>
> *The Following Errors Occurred:*
>
> *You have no access to the project#: *
>
> Am I missing something regarding party roles and/or security settings?
>
>
> Regards,
>
>
> Pierre
--
Antwebsystems.com: Quality OFBiz services for competitive rates

Reply | Threaded
Open this post in threaded view
|

Re: Projectmgr - create new project

hans_bakker
I was wrong: the "new project" button does appear in the business theme
too....(when you click on the 'projects' application button......)

On Tue, 2009-11-10 at 17:15 +0700, Hans Bakker wrote:

> Hi Pierre,
>
> i created a new user, assigned the "fulladmin" security group logged in
> as that user and could create a new project.
>
> Indeed the 'new project' button did not appear in the business theme,
> however in the good old flat grey scheme it did show up.
>
> You can create a jira issue for the missing button, which i could
> imagine could be a problem at more places than here.....
>
> Regards,
> Hans
>
> On Tue, 2009-11-10 at 10:04 +0100, Pierre Smits wrote:
> > Hi all,
> >
> > I have created a new party in OfBiz. And this party has the same roles and
> > security permissions as Admin.
> >
> > When I log in as this new party I go to the projects overview in
> > projectmgr.
> >
> > But with this new user I am not able to create projects from the projects
> > overview (i don''t see the 'New project'-button).
> >
> > When I go to an existing project I do see the New project-button, and when I
> > click that and fill out the form and hit save I get following error:
> >
> > *The Following Errors Occurred:*
> >
> > *You have no access to the project#: *
> >
> > Am I missing something regarding party roles and/or security settings?
> >
> >
> > Regards,
> >
> >
> > Pierre
--
Antwebsystems.com: Quality OFBiz services for competitive rates

Reply | Threaded
Open this post in threaded view
|

Re: Projectmgr - create new project

Pierre Smits
In reply to this post by hans_bakker
Hi Hans,

Thanks for your insights.

Resetting security rights for the user I found where the problem lies.

When the user only has full admin the button shows, but when the user has
also roles PROJECTADMIN it loses the right to create new projects.
When the user has both security roles FULLADMIN and PROJECTUSER it has the
right to create new projects.

This would seem to me as an undesirable solution.
When the user has the PROJECTADMIN or FULLADMIN security roles he should be
able to create new projects
When the user has only PROJECTUSER as the security role he shouldn't be able
to create new projects.

If you agree to above I will create a jira for this.

Regards,

Pierre

2009/11/10 Hans Bakker <[hidden email]>

> Hi Pierre,
>
> i created a new user, assigned the "fulladmin" security group logged in
> as that user and could create a new project.
>
> Indeed the 'new project' button did not appear in the business theme,
> however in the good old flat grey scheme it did show up.
>
> You can create a jira issue for the missing button, which i could
> imagine could be a problem at more places than here.....
>
> Regards,
> Hans
>
> On Tue, 2009-11-10 at 10:04 +0100, Pierre Smits wrote:
> > Hi all,
> >
> > I have created a new party in OfBiz. And this party has the same roles
> and
> > security permissions as Admin.
> >
> > When I log in as this new party I go to the projects overview in
> > projectmgr.
> >
> > But with this new user I am not able to create projects from the projects
> > overview (i don''t see the 'New project'-button).
> >
> > When I go to an existing project I do see the New project-button, and
> when I
> > click that and fill out the form and hit save I get following error:
> >
> > *The Following Errors Occurred:*
> >
> > *You have no access to the project#: *
> >
> > Am I missing something regarding party roles and/or security settings?
> >
> >
> > Regards,
> >
> >
> > Pierre
> --
> Antwebsystems.com: Quality OFBiz services for competitive rates
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Projectmgr - create new project

Sharan-F
In reply to this post by Pierre Smits
Hi Pierre

I came across this problem too. After quite a bit of trial and error I found the permissions that gave full project administration authorities including allowing the 'New Project' button to be displayed for a user without having to give them access to the 'FULLADMIN' security group.

I created a new security group called 'PROJECTADMIN_ALL' with the following permissions:

ASSETMAINT_CREATE
ASSETMAINT_UPDATE
HUMANRES_CREATE
HUMANRES_UPDATE
PARTYMGR_ROLE_CREATE
PARTYMGR_ROLE_UPDATE
PARTYMGR_VIEW
PROJECTMGR_ADMIN ALL
PROJECTMGR_ROLE_TASK_CREATE
PROJECTMGR_ROLE_TIMESHEET_UPDATE
PROJECTMGR_ROLE_UPDATE
PROJECTMGR_TIMESHEET_CREATE
PROJECTMGR_TIMESHEET_UPDATE
WORKEFFORTMGR_ADMIN ALL
WORKEFFORTMGR_CREATE
WORKEFFORTMGR_DELETE
WORKEFFORTMGR_UPDATE
WORKEFFORTMGR_VIEW

You can try this and see if it helps.

Thanks
Sharan


Pierre Smits-3 wrote
Hi Christopher, All,

I am using the trunk.

Regards,

Pierre

2009/11/10 Christopher Snow <snowch@snowconsulting.co.uk>

> What version of ofbiz are you using?  This topic may be helpful:
>
> http://n4.nabble.com/project-management-td163956.html#a163956
>
>
>
> Pierre Smits wrote:
>
>> Hi all,
>>
>> I have created a new party in OfBiz. And this party has the same roles and
>> security permissions as Admin.
>>
>> When I log in as this new party I go to the projects overview in
>> projectmgr.
>>
>> But with this new user I am not able to create projects from the projects
>> overview (i don''t see the 'New project'-button).
>>
>> When I go to an existing project I do see the New project-button, and when
>> I
>> click that and fill out the form and hit save I get following error:
>>
>> *The Following Errors Occurred:*
>>
>> *You have no access to the project#: *
>>
>> Am I missing something regarding party roles and/or security settings?
>>
>>
>> Regards,
>>
>>
>> Pierre
>>
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Projectmgr - create new project

Jacques Le Roux
Administrator
Maybe we could consider adding this to OFBiz, Hans ?

Jacques

From: "Sharan-F" <[hidden email]>

>
> Hi Pierre
>
> I came across this problem too. After quite a bit of trial and error I found
> the permissions that gave full project administration authorities including
> allowing the 'New Project' button to be displayed for a user without having
> to give them access to the 'FULLADMIN' security group.
>
> I created a new security group called 'PROJECTADMIN_ALL' with the following
> permissions:
>
> ASSETMAINT_CREATE
> ASSETMAINT_UPDATE
> HUMANRES_CREATE
> HUMANRES_UPDATE
> PARTYMGR_ROLE_CREATE
> PARTYMGR_ROLE_UPDATE
> PARTYMGR_VIEW
> PROJECTMGR_ADMIN ALL
> PROJECTMGR_ROLE_TASK_CREATE
> PROJECTMGR_ROLE_TIMESHEET_UPDATE
> PROJECTMGR_ROLE_UPDATE
> PROJECTMGR_TIMESHEET_CREATE
> PROJECTMGR_TIMESHEET_UPDATE
> WORKEFFORTMGR_ADMIN ALL
> WORKEFFORTMGR_CREATE
> WORKEFFORTMGR_DELETE
> WORKEFFORTMGR_UPDATE
> WORKEFFORTMGR_VIEW
>
> You can try this and see if it helps.
>
> Thanks
> Sharan
>
>
>
> Pierre Smits-3 wrote:
>>
>> Hi Christopher, All,
>>
>> I am using the trunk.
>>
>> Regards,
>>
>> Pierre
>>
>> 2009/11/10 Christopher Snow <[hidden email]>
>>
>>> What version of ofbiz are you using?  This topic may be helpful:
>>>
>>> http://n4.nabble.com/project-management-td163956.html#a163956
>>>
>>>
>>>
>>> Pierre Smits wrote:
>>>
>>>> Hi all,
>>>>
>>>> I have created a new party in OfBiz. And this party has the same roles
>>>> and
>>>> security permissions as Admin.
>>>>
>>>> When I log in as this new party I go to the projects overview in
>>>> projectmgr.
>>>>
>>>> But with this new user I am not able to create projects from the
>>>> projects
>>>> overview (i don''t see the 'New project'-button).
>>>>
>>>> When I go to an existing project I do see the New project-button, and
>>>> when
>>>> I
>>>> click that and fill out the form and hit save I get following error:
>>>>
>>>> *The Following Errors Occurred:*
>>>>
>>>> *You have no access to the project#: *
>>>>
>>>> Am I missing something regarding party roles and/or security settings?
>>>>
>>>>
>>>> Regards,
>>>>
>>>>
>>>> Pierre
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
> --
> View this message in context: http://n4.nabble.com/Projectmgr-create-new-project-tp585300p585545.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Projectmgr - create new project

Jacques Le Roux
Administrator
In reply to this post by Pierre Smits
Hi Pierre, Hans,

Should we not create a Jira for this
It seems to me that Pierre is right.
I'd go for
FULLADMN can create project (OK OOTB)
PROJECTADMIN can create project (we miss this)
PROJECTUSER  can't create project (OK OOTB)
but I can' t see why an user with FULLADMIN *and* PROJECTUSER would not be able to create a project. For me FULLADMIN subsumes any
other type of permissions.

Jacques
PS : Sharan suggested a specific solution but I'm not sure it's general enough


----- Original Message -----
From: "Pierre Smits" <[hidden email]>
To: <[hidden email]>
Sent: Tuesday, November 10, 2009 11:50 AM
Subject: Re: Projectmgr - create new project


> Hi Hans,
>
> Thanks for your insights.
>
> Resetting security rights for the user I found where the problem lies.
>
> When the user only has full admin the button shows, but when the user has
> also roles PROJECTADMIN it loses the right to create new projects.
> When the user has both security roles FULLADMIN and PROJECTUSER it has the
> right to create new projects.
>
> This would seem to me as an undesirable solution.
> When the user has the PROJECTADMIN or FULLADMIN security roles he should be
> able to create new projects
> When the user has only PROJECTUSER as the security role he shouldn't be able
> to create new projects.
>
> If you agree to above I will create a jira for this.
>
> Regards,
>
> Pierre
>
> 2009/11/10 Hans Bakker <[hidden email]>
>
>> Hi Pierre,
>>
>> i created a new user, assigned the "fulladmin" security group logged in
>> as that user and could create a new project.
>>
>> Indeed the 'new project' button did not appear in the business theme,
>> however in the good old flat grey scheme it did show up.
>>
>> You can create a jira issue for the missing button, which i could
>> imagine could be a problem at more places than here.....
>>
>> Regards,
>> Hans
>>
>> On Tue, 2009-11-10 at 10:04 +0100, Pierre Smits wrote:
>> > Hi all,
>> >
>> > I have created a new party in OfBiz. And this party has the same roles
>> and
>> > security permissions as Admin.
>> >
>> > When I log in as this new party I go to the projects overview in
>> > projectmgr.
>> >
>> > But with this new user I am not able to create projects from the projects
>> > overview (i don''t see the 'New project'-button).
>> >
>> > When I go to an existing project I do see the New project-button, and
>> when I
>> > click that and fill out the form and hit save I get following error:
>> >
>> > *The Following Errors Occurred:*
>> >
>> > *You have no access to the project#: *
>> >
>> > Am I missing something regarding party roles and/or security settings?
>> >
>> >
>> > Regards,
>> >
>> >
>> > Pierre
>> --
>> Antwebsystems.com: Quality OFBiz services for competitive rates
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Projectmgr - create new project

Pierre Smits
Hi Jacques,

I will create a jira for this. I had not had the time to test the solution
Sharan suggested, but I will do this the coming days.

Furthermore, I think that also a securityrole Project MGR must be created.
This role can create new projects and has read, edit and delete/close rights
for the projects  it is the project manager for. I will look into this.

Regards,

Pierre

2009/11/13 Jacques Le Roux <[hidden email]>

> Hi Pierre, Hans,
>
> Should we not create a Jira for this
> It seems to me that Pierre is right.
> I'd go for
> FULLADMN can create project (OK OOTB)
> PROJECTADMIN can create project (we miss this)
> PROJECTUSER  can't create project (OK OOTB)
> but I can' t see why an user with FULLADMIN *and* PROJECTUSER would not be
> able to create a project. For me FULLADMIN subsumes any other type of
> permissions.
>
> Jacques
> PS : Sharan suggested a specific solution but I'm not sure it's general
> enough
>
>
> ----- Original Message ----- From: "Pierre Smits" <[hidden email]>
> To: <[hidden email]>
> Sent: Tuesday, November 10, 2009 11:50 AM
> Subject: Re: Projectmgr - create new project
>
>
>
>  Hi Hans,
>>
>> Thanks for your insights.
>>
>> Resetting security rights for the user I found where the problem lies.
>>
>> When the user only has full admin the button shows, but when the user has
>> also roles PROJECTADMIN it loses the right to create new projects.
>> When the user has both security roles FULLADMIN and PROJECTUSER it has the
>> right to create new projects.
>>
>> This would seem to me as an undesirable solution.
>> When the user has the PROJECTADMIN or FULLADMIN security roles he should
>> be
>> able to create new projects
>> When the user has only PROJECTUSER as the security role he shouldn't be
>> able
>> to create new projects.
>>
>> If you agree to above I will create a jira for this.
>>
>> Regards,
>>
>> Pierre
>>
>> 2009/11/10 Hans Bakker <[hidden email]>
>>
>>  Hi Pierre,
>>>
>>> i created a new user, assigned the "fulladmin" security group logged in
>>> as that user and could create a new project.
>>>
>>> Indeed the 'new project' button did not appear in the business theme,
>>> however in the good old flat grey scheme it did show up.
>>>
>>> You can create a jira issue for the missing button, which i could
>>> imagine could be a problem at more places than here.....
>>>
>>> Regards,
>>> Hans
>>>
>>> On Tue, 2009-11-10 at 10:04 +0100, Pierre Smits wrote:
>>> > Hi all,
>>> >
>>> > I have created a new party in OfBiz. And this party has the same roles
>>> and
>>> > security permissions as Admin.
>>> >
>>> > When I log in as this new party I go to the projects overview in
>>> > projectmgr.
>>> >
>>> > But with this new user I am not able to create projects from the
>>> projects
>>> > overview (i don''t see the 'New project'-button).
>>> >
>>> > When I go to an existing project I do see the New project-button, and
>>> when I
>>> > click that and fill out the form and hit save I get following error:
>>> >
>>> > *The Following Errors Occurred:*
>>> >
>>> > *You have no access to the project#: *
>>> >
>>> > Am I missing something regarding party roles and/or security settings?
>>> >
>>> >
>>> > Regards,
>>> >
>>> >
>>> > Pierre
>>> --
>>> Antwebsystems.com: Quality OFBiz services for competitive rates
>>>
>>>
>>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Projectmgr - create new project

Pierre Smits
Jacques,

The jira is in.

2009/11/14 Pierre Smits <[hidden email]>

> Hi Jacques,
>
> I will create a jira for this. I had not had the time to test the solution
> Sharan suggested, but I will do this the coming days.
>
> Furthermore, I think that also a securityrole Project MGR must be created.
> This role can create new projects and has read, edit and delete/close
> rights for the projects  it is the project manager for. I will look into
> this.
>
> Regards,
>
> Pierre
>
> 2009/11/13 Jacques Le Roux <[hidden email]>
>
> Hi Pierre, Hans,
>>
>> Should we not create a Jira for this
>> It seems to me that Pierre is right.
>> I'd go for
>> FULLADMN can create project (OK OOTB)
>> PROJECTADMIN can create project (we miss this)
>> PROJECTUSER  can't create project (OK OOTB)
>> but I can' t see why an user with FULLADMIN *and* PROJECTUSER would not be
>> able to create a project. For me FULLADMIN subsumes any other type of
>> permissions.
>>
>> Jacques
>> PS : Sharan suggested a specific solution but I'm not sure it's general
>> enough
>>
>>
>> ----- Original Message ----- From: "Pierre Smits" <[hidden email]
>> >
>> To: <[hidden email]>
>> Sent: Tuesday, November 10, 2009 11:50 AM
>> Subject: Re: Projectmgr - create new project
>>
>>
>>
>>  Hi Hans,
>>>
>>> Thanks for your insights.
>>>
>>> Resetting security rights for the user I found where the problem lies.
>>>
>>> When the user only has full admin the button shows, but when the user has
>>> also roles PROJECTADMIN it loses the right to create new projects.
>>> When the user has both security roles FULLADMIN and PROJECTUSER it has
>>> the
>>> right to create new projects.
>>>
>>> This would seem to me as an undesirable solution.
>>> When the user has the PROJECTADMIN or FULLADMIN security roles he should
>>> be
>>> able to create new projects
>>> When the user has only PROJECTUSER as the security role he shouldn't be
>>> able
>>> to create new projects.
>>>
>>> If you agree to above I will create a jira for this.
>>>
>>> Regards,
>>>
>>> Pierre
>>>
>>> 2009/11/10 Hans Bakker <[hidden email]>
>>>
>>>  Hi Pierre,
>>>>
>>>> i created a new user, assigned the "fulladmin" security group logged in
>>>> as that user and could create a new project.
>>>>
>>>> Indeed the 'new project' button did not appear in the business theme,
>>>> however in the good old flat grey scheme it did show up.
>>>>
>>>> You can create a jira issue for the missing button, which i could
>>>> imagine could be a problem at more places than here.....
>>>>
>>>> Regards,
>>>> Hans
>>>>
>>>> On Tue, 2009-11-10 at 10:04 +0100, Pierre Smits wrote:
>>>> > Hi all,
>>>> >
>>>> > I have created a new party in OfBiz. And this party has the same roles
>>>> and
>>>> > security permissions as Admin.
>>>> >
>>>> > When I log in as this new party I go to the projects overview in
>>>> > projectmgr.
>>>> >
>>>> > But with this new user I am not able to create projects from the
>>>> projects
>>>> > overview (i don''t see the 'New project'-button).
>>>> >
>>>> > When I go to an existing project I do see the New project-button, and
>>>> when I
>>>> > click that and fill out the form and hit save I get following error:
>>>> >
>>>> > *The Following Errors Occurred:*
>>>> >
>>>> > *You have no access to the project#: *
>>>> >
>>>> > Am I missing something regarding party roles and/or security settings?
>>>> >
>>>> >
>>>> > Regards,
>>>> >
>>>> >
>>>> > Pierre
>>>> --
>>>> Antwebsystems.com: Quality OFBiz services for competitive rates
>>>>
>>>>
>>>>
>>>
>>
>>
>