You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Norbert Rieger <nr...@lplusr.de> on 2010/07/23 15:07:06 UTC

no permission for /partymgr, user admin

Hi,

I tried to log into /partymgr or /humanres with user admin and got the error
message:

"You do not have permission to view this page. ("PARTYMGR_VIEW" or
"PARTYMGR_ADMIN" needed)"

Doesn't admin has this permissions on default or do I have to log in with a
different user ?

How can I add this permissions to admin (or another user) ?

Thanks a lot for your help.

Norbert

I'm working with trunk revision 967053 (build + run-install).


Re: no permission for /partymgr, user admin

Posted by BJ Freeman <bj...@free-man.net>.
can you describe what your setup is and what your trying to accomplish.

Norbert Rieger sent the following on 7/23/2010 6:46 AM:
> I tried to establish a new party and/or facility.
>
> Similar error in /facility (FACILITY_VIEW ... needed)
>
> My ant version is 1.7.1.
>
> Maybe I'm wrong but how can I create a new "company" (and later on several
> stores, users, catalogs,etc.), how do I start with that ? Is there a
> document how to startup ?
>
> Thanks a lot
>
> Norbert
>
> -----Ursprüngliche Nachricht-----
> Von: Nicolas Malin [mailto:malin.nicolas@librenberry.net]
> Gesendet: Freitag, 23. Juli 2010 15:24
> An: user@ofbiz.apache.org
> Betreff: Re: no permission for /partymgr, user admin
>
> Your userLogin has a Party ?
>
> Your ant version is 1.7.0 ?
>
> Nicolas
>
> Norbert Rieger a écrit :
>> Hi,
>>
>> I tried to log into /partymgr or /humanres with user admin and got the
> error
>> message:
>>
>> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
>> "PARTYMGR_ADMIN" needed)"
>>
>> Doesn't admin has this permissions on default or do I have to log in with
> a
>> different user ?
>>
>> How can I add this permissions to admin (or another user) ?
>>
>> Thanks a lot for your help.
>>
>> Norbert
>>
>> I'm working with trunk revision 967053 (build + run-install).
>>
>>
>
>

AW: no permission for /partymgr, user admin

Posted by Norbert Rieger <nr...@lplusr.de>.
I tried to establish a new party and/or facility.

Similar error in /facility (FACILITY_VIEW ... needed)

My ant version is 1.7.1.

Maybe I'm wrong but how can I create a new "company" (and later on several
stores, users, catalogs,etc.), how do I start with that ? Is there a
document how to startup ?

Thanks a lot

Norbert

-----Ursprüngliche Nachricht-----
Von: Nicolas Malin [mailto:malin.nicolas@librenberry.net] 
Gesendet: Freitag, 23. Juli 2010 15:24
An: user@ofbiz.apache.org
Betreff: Re: no permission for /partymgr, user admin

Your userLogin has a Party ?

Your ant version is 1.7.0 ?

Nicolas

Norbert Rieger a écrit :
> Hi,
>
> I tried to log into /partymgr or /humanres with user admin and got the
error
> message:
>
> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
> "PARTYMGR_ADMIN" needed)"
>
> Doesn't admin has this permissions on default or do I have to log in with
a
> different user ?
>
> How can I add this permissions to admin (or another user) ?
>
> Thanks a lot for your help.
>
> Norbert
>
> I'm working with trunk revision 967053 (build + run-install).
>
>   


Re: no permission for /partymgr, user admin

Posted by Nicolas Malin <ma...@librenberry.net>.
Your userLogin has a Party ?

Your ant version is 1.7.0 ?

Nicolas

Norbert Rieger a écrit :
> Hi,
>
> I tried to log into /partymgr or /humanres with user admin and got the error
> message:
>
> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
> "PARTYMGR_ADMIN" needed)"
>
> Doesn't admin has this permissions on default or do I have to log in with a
> different user ?
>
> How can I add this permissions to admin (or another user) ?
>
> Thanks a lot for your help.
>
> Norbert
>
> I'm working with trunk revision 967053 (build + run-install).
>
>   


Re: AW: AW: no permission for /partymgr, user admin

Posted by Jacques Le Roux <ja...@les7arts.com>.
BTW this has been "fixed" by Adam at r978957

Jacques

From: "Jacques Le Roux" <ja...@les7arts.com>
> See Adam's answer about it in dev ML: Re: Rev 935381 (was: no permission for /partymgr, user admin)
> ant1.7.0 is faulty, ant 1.7.1 fixes it
>
> Jacques
>
> From: "Matt Warnock" <mw...@ridgecrestherbals.com>
>> I've had that same experience several times and discovered it was the
>> wrong ant version, usually because I forgot and used "ant run-install"
>> instead of "./ant run-install".  The correct version of ant is supplied
>> with the code, so use that.  Other versions seem to cause wierdness.
>> The other possibility that comes to mind is using OpenJDK instead of the
>> standard Sun JDK-- similar issues with not being able to find all the
>> right bits.
>> -- 
>> Matt Warnock <mw...@ridgecrestherbals.com>
>> RidgeCrest Herbals, Inc.
>>
>> On Sat, 2010-07-24 at 15:50 +0200, Norbert Rieger wrote:
>>> I tried the clean-all and run-install and got some errors when loading data.
>>>
>>> Unfortunately I do not have the output, it was a series of conversion error
>>> from or to BigDecimal followed by errors on commit.
>>>
>>> Maybe I messed up my installation.
>>>
>>> A new checkout, build and run-install and the partymgr an facilitymgr is
>>> available.
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: BJ Freeman [mailto:bjfree@free-man.net]
>>> Gesendet: Freitag, 23. Juli 2010 18:56
>>> An: user@ofbiz.apache.org
>>> Betreff: Re: AW: no permission for /partymgr, user admin
>>>
>>> I have not run into that situation.
>>> the ant clean-all removed the database that may have a status set from
>>> some other operation.
>>> it is always recommend to do a clean-all
>>> before doing another run-install
>>>
>>> erp aql sent the following on 7/23/2010 9:35 AM:
>>> > It seems that if you do a second ant run-install without an ant clean in
>>> between there is this boolean converter error:
>>> >
>>> >         Could not convert field value for the field: [hasPermission] to
>>> the [Boolean] type for the value [true]:
>>> > org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to
>>> Boolean not currently supported
>>> > Exception: org.ofbiz.base.util.GeneralException
>>> > Message: Conversion from java.lang.String to Boolean not currently
>>> supported
>>> >
>>> > Because of this, the permission can not be checked and the message is
>>> displayed "You do not have permission to view this page. ("PARTYMGR_VIEW" or
>>> "PARTYMGR_ADMIN" needed)" even that the permissions are correctly
>>> configured.
>>> >
>>> > The problem may be related to a possible bug on the conversion code. So,
>>> the workaround seems to be: do an ant clean-all every time before ant
>>> run-install.
>>> >
>>> > Regards,
>>> > Cristian
>>> >
>>> > On 23/07/2010, at 6:15 PM, BJ Freeman wrote:
>>> >
>>> >> it sounnds like the install did not happen properly
>>> >> do
>>> >> ant clean-all
>>> >> then
>>> >> ant run-install
>>> >> if your using linux
>>> >> then use ./ant
>>> >>
>>> >> \\
>>> >> \\Norbert Rieger sent the following on 7/23/2010 7:14 AM:
>>> >>> I did a run-install.
>>> >>>
>>> >>> If no party is generated, how will I do this if I can not log in (I'm
>>> new to
>>> >>> OFBiz maybe I do not yet understand the whole context) ?
>>> >>>
>>> >>> -----Ursprüngliche Nachricht-----
>>> >>> Von: BJ Freeman [mailto:bjfree@free-man.net]
>>> >>> Gesendet: Freitag, 23. Juli 2010 16:01
>>> >>> An: user@ofbiz.apache.org
>>> >>> Betreff: Re: no permission for /partymgr, user admin
>>> >>>
>>> >>> did you do a
>>> >>> ant run-install so you would have demo data?
>>> >>> ant run-install-ext does not install any parties or log ins
>>> >>> do a
>>> >>> ant -p
>>> >>> on how to create an admin account.
>>> >>> this is only a log in with admin security it does not created any party.
>>> >>>
>>> >>> Norbert Rieger sent the following on 7/23/2010 6:07 AM:
>>> >>>> Hi,
>>> >>>>
>>> >>>> I tried to log into /partymgr or /humanres with user admin and got the
>>> >>> error
>>> >>>> message:
>>> >>>>
>>> >>>> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
>>> >>>> "PARTYMGR_ADMIN" needed)"
>>> >>>>
>>> >>>> Doesn't admin has this permissions on default or do I have to log in
>>> with
>>> >>> a
>>> >>>> different user ?
>>> >>>>
>>> >>>> How can I add this permissions to admin (or another user) ?
>>> >>>>
>>> >>>> Thanks a lot for your help.
>>> >>>>
>>> >>>> Norbert
>>> >>>>
>>> >>>> I'm working with trunk revision 967053 (build + run-install).
>>> >>>>
>>> >>>>
>>> >>>
>>> >>>
>>> >
>>> >
>>
>
> 



Re: AW: AW: no permission for /partymgr, user admin

Posted by Jacques Le Roux <ja...@les7arts.com>.
See Adam's answer about it in dev ML: Re: Rev 935381 (was: no permission for /partymgr, user admin)
ant1.7.0 is faulty, ant 1.7.1 fixes it

Jacques

From: "Matt Warnock" <mw...@ridgecrestherbals.com>
> I've had that same experience several times and discovered it was the
> wrong ant version, usually because I forgot and used "ant run-install"
> instead of "./ant run-install".  The correct version of ant is supplied
> with the code, so use that.  Other versions seem to cause wierdness.
> The other possibility that comes to mind is using OpenJDK instead of the
> standard Sun JDK-- similar issues with not being able to find all the
> right bits.
> -- 
> Matt Warnock <mw...@ridgecrestherbals.com>
> RidgeCrest Herbals, Inc.
>
> On Sat, 2010-07-24 at 15:50 +0200, Norbert Rieger wrote:
>> I tried the clean-all and run-install and got some errors when loading data.
>>
>> Unfortunately I do not have the output, it was a series of conversion error
>> from or to BigDecimal followed by errors on commit.
>>
>> Maybe I messed up my installation.
>>
>> A new checkout, build and run-install and the partymgr an facilitymgr is
>> available.
>>
>> -----Ursprüngliche Nachricht-----
>> Von: BJ Freeman [mailto:bjfree@free-man.net]
>> Gesendet: Freitag, 23. Juli 2010 18:56
>> An: user@ofbiz.apache.org
>> Betreff: Re: AW: no permission for /partymgr, user admin
>>
>> I have not run into that situation.
>> the ant clean-all removed the database that may have a status set from
>> some other operation.
>> it is always recommend to do a clean-all
>> before doing another run-install
>>
>> erp aql sent the following on 7/23/2010 9:35 AM:
>> > It seems that if you do a second ant run-install without an ant clean in
>> between there is this boolean converter error:
>> >
>> >         Could not convert field value for the field: [hasPermission] to
>> the [Boolean] type for the value [true]:
>> > org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to
>> Boolean not currently supported
>> > Exception: org.ofbiz.base.util.GeneralException
>> > Message: Conversion from java.lang.String to Boolean not currently
>> supported
>> >
>> > Because of this, the permission can not be checked and the message is
>> displayed "You do not have permission to view this page. ("PARTYMGR_VIEW" or
>> "PARTYMGR_ADMIN" needed)" even that the permissions are correctly
>> configured.
>> >
>> > The problem may be related to a possible bug on the conversion code. So,
>> the workaround seems to be: do an ant clean-all every time before ant
>> run-install.
>> >
>> > Regards,
>> > Cristian
>> >
>> > On 23/07/2010, at 6:15 PM, BJ Freeman wrote:
>> >
>> >> it sounnds like the install did not happen properly
>> >> do
>> >> ant clean-all
>> >> then
>> >> ant run-install
>> >> if your using linux
>> >> then use ./ant
>> >>
>> >> \\
>> >> \\Norbert Rieger sent the following on 7/23/2010 7:14 AM:
>> >>> I did a run-install.
>> >>>
>> >>> If no party is generated, how will I do this if I can not log in (I'm
>> new to
>> >>> OFBiz maybe I do not yet understand the whole context) ?
>> >>>
>> >>> -----Ursprüngliche Nachricht-----
>> >>> Von: BJ Freeman [mailto:bjfree@free-man.net]
>> >>> Gesendet: Freitag, 23. Juli 2010 16:01
>> >>> An: user@ofbiz.apache.org
>> >>> Betreff: Re: no permission for /partymgr, user admin
>> >>>
>> >>> did you do a
>> >>> ant run-install so you would have demo data?
>> >>> ant run-install-ext does not install any parties or log ins
>> >>> do a
>> >>> ant -p
>> >>> on how to create an admin account.
>> >>> this is only a log in with admin security it does not created any party.
>> >>>
>> >>> Norbert Rieger sent the following on 7/23/2010 6:07 AM:
>> >>>> Hi,
>> >>>>
>> >>>> I tried to log into /partymgr or /humanres with user admin and got the
>> >>> error
>> >>>> message:
>> >>>>
>> >>>> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
>> >>>> "PARTYMGR_ADMIN" needed)"
>> >>>>
>> >>>> Doesn't admin has this permissions on default or do I have to log in
>> with
>> >>> a
>> >>>> different user ?
>> >>>>
>> >>>> How can I add this permissions to admin (or another user) ?
>> >>>>
>> >>>> Thanks a lot for your help.
>> >>>>
>> >>>> Norbert
>> >>>>
>> >>>> I'm working with trunk revision 967053 (build + run-install).
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >
>> >
>



Re: AW: AW: no permission for /partymgr, user admin

Posted by Matt Warnock <mw...@ridgecrestherbals.com>.
I've had that same experience several times and discovered it was the
wrong ant version, usually because I forgot and used "ant run-install"
instead of "./ant run-install".  The correct version of ant is supplied
with the code, so use that.  Other versions seem to cause wierdness.
The other possibility that comes to mind is using OpenJDK instead of the
standard Sun JDK-- similar issues with not being able to find all the
right bits.
-- 
Matt Warnock <mw...@ridgecrestherbals.com>
RidgeCrest Herbals, Inc.

On Sat, 2010-07-24 at 15:50 +0200, Norbert Rieger wrote:
> I tried the clean-all and run-install and got some errors when loading data.
> 
> Unfortunately I do not have the output, it was a series of conversion error
> from or to BigDecimal followed by errors on commit.
> 
> Maybe I messed up my installation.
> 
> A new checkout, build and run-install and the partymgr an facilitymgr is
> available. 
> 
> -----Ursprüngliche Nachricht-----
> Von: BJ Freeman [mailto:bjfree@free-man.net] 
> Gesendet: Freitag, 23. Juli 2010 18:56
> An: user@ofbiz.apache.org
> Betreff: Re: AW: no permission for /partymgr, user admin
> 
> I have not run into that situation.
> the ant clean-all removed the database that may have a status set from 
> some other operation.
> it is always recommend to do a clean-all
> before doing another run-install
> 
> erp aql sent the following on 7/23/2010 9:35 AM:
> > It seems that if you do a second ant run-install without an ant clean in
> between there is this boolean converter error:
> >
> >         Could not convert field value for the field: [hasPermission] to
> the [Boolean] type for the value [true]:
> > org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to
> Boolean not currently supported
> > Exception: org.ofbiz.base.util.GeneralException
> > Message: Conversion from java.lang.String to Boolean not currently
> supported
> >
> > Because of this, the permission can not be checked and the message is
> displayed "You do not have permission to view this page. ("PARTYMGR_VIEW" or
> "PARTYMGR_ADMIN" needed)" even that the permissions are correctly
> configured.
> >
> > The problem may be related to a possible bug on the conversion code. So,
> the workaround seems to be: do an ant clean-all every time before ant
> run-install.
> >
> > Regards,
> > Cristian
> >
> > On 23/07/2010, at 6:15 PM, BJ Freeman wrote:
> >
> >> it sounnds like the install did not happen properly
> >> do
> >> ant clean-all
> >> then
> >> ant run-install
> >> if your using linux
> >> then use ./ant
> >>
> >> \\
> >> \\Norbert Rieger sent the following on 7/23/2010 7:14 AM:
> >>> I did a run-install.
> >>>
> >>> If no party is generated, how will I do this if I can not log in (I'm
> new to
> >>> OFBiz maybe I do not yet understand the whole context) ?
> >>>
> >>> -----Ursprüngliche Nachricht-----
> >>> Von: BJ Freeman [mailto:bjfree@free-man.net]
> >>> Gesendet: Freitag, 23. Juli 2010 16:01
> >>> An: user@ofbiz.apache.org
> >>> Betreff: Re: no permission for /partymgr, user admin
> >>>
> >>> did you do a
> >>> ant run-install so you would have demo data?
> >>> ant run-install-ext does not install any parties or log ins
> >>> do a
> >>> ant -p
> >>> on how to create an admin account.
> >>> this is only a log in with admin security it does not created any party.
> >>>
> >>> Norbert Rieger sent the following on 7/23/2010 6:07 AM:
> >>>> Hi,
> >>>>
> >>>> I tried to log into /partymgr or /humanres with user admin and got the
> >>> error
> >>>> message:
> >>>>
> >>>> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
> >>>> "PARTYMGR_ADMIN" needed)"
> >>>>
> >>>> Doesn't admin has this permissions on default or do I have to log in
> with
> >>> a
> >>>> different user ?
> >>>>
> >>>> How can I add this permissions to admin (or another user) ?
> >>>>
> >>>> Thanks a lot for your help.
> >>>>
> >>>> Norbert
> >>>>
> >>>> I'm working with trunk revision 967053 (build + run-install).
> >>>>
> >>>>
> >>>
> >>>
> >
> >


AW: AW: no permission for /partymgr, user admin

Posted by Norbert Rieger <nr...@lplusr.de>.
I tried the clean-all and run-install and got some errors when loading data.

Unfortunately I do not have the output, it was a series of conversion error
from or to BigDecimal followed by errors on commit.

Maybe I messed up my installation.

A new checkout, build and run-install and the partymgr an facilitymgr is
available. 

-----Ursprüngliche Nachricht-----
Von: BJ Freeman [mailto:bjfree@free-man.net] 
Gesendet: Freitag, 23. Juli 2010 18:56
An: user@ofbiz.apache.org
Betreff: Re: AW: no permission for /partymgr, user admin

I have not run into that situation.
the ant clean-all removed the database that may have a status set from 
some other operation.
it is always recommend to do a clean-all
before doing another run-install

erp aql sent the following on 7/23/2010 9:35 AM:
> It seems that if you do a second ant run-install without an ant clean in
between there is this boolean converter error:
>
>         Could not convert field value for the field: [hasPermission] to
the [Boolean] type for the value [true]:
> org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to
Boolean not currently supported
> Exception: org.ofbiz.base.util.GeneralException
> Message: Conversion from java.lang.String to Boolean not currently
supported
>
> Because of this, the permission can not be checked and the message is
displayed "You do not have permission to view this page. ("PARTYMGR_VIEW" or
"PARTYMGR_ADMIN" needed)" even that the permissions are correctly
configured.
>
> The problem may be related to a possible bug on the conversion code. So,
the workaround seems to be: do an ant clean-all every time before ant
run-install.
>
> Regards,
> Cristian
>
> On 23/07/2010, at 6:15 PM, BJ Freeman wrote:
>
>> it sounnds like the install did not happen properly
>> do
>> ant clean-all
>> then
>> ant run-install
>> if your using linux
>> then use ./ant
>>
>> \\
>> \\Norbert Rieger sent the following on 7/23/2010 7:14 AM:
>>> I did a run-install.
>>>
>>> If no party is generated, how will I do this if I can not log in (I'm
new to
>>> OFBiz maybe I do not yet understand the whole context) ?
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: BJ Freeman [mailto:bjfree@free-man.net]
>>> Gesendet: Freitag, 23. Juli 2010 16:01
>>> An: user@ofbiz.apache.org
>>> Betreff: Re: no permission for /partymgr, user admin
>>>
>>> did you do a
>>> ant run-install so you would have demo data?
>>> ant run-install-ext does not install any parties or log ins
>>> do a
>>> ant -p
>>> on how to create an admin account.
>>> this is only a log in with admin security it does not created any party.
>>>
>>> Norbert Rieger sent the following on 7/23/2010 6:07 AM:
>>>> Hi,
>>>>
>>>> I tried to log into /partymgr or /humanres with user admin and got the
>>> error
>>>> message:
>>>>
>>>> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
>>>> "PARTYMGR_ADMIN" needed)"
>>>>
>>>> Doesn't admin has this permissions on default or do I have to log in
with
>>> a
>>>> different user ?
>>>>
>>>> How can I add this permissions to admin (or another user) ?
>>>>
>>>> Thanks a lot for your help.
>>>>
>>>> Norbert
>>>>
>>>> I'm working with trunk revision 967053 (build + run-install).
>>>>
>>>>
>>>
>>>
>
>


Re: AW: no permission for /partymgr, user admin

Posted by BJ Freeman <bj...@free-man.net>.
I have not run into that situation.
the ant clean-all removed the database that may have a status set from 
some other operation.
it is always recommend to do a clean-all
before doing another run-install

erp aql sent the following on 7/23/2010 9:35 AM:
> It seems that if you do a second ant run-install without an ant clean in between there is this boolean converter error:
>
>         Could not convert field value for the field: [hasPermission] to the [Boolean] type for the value [true]:
> org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to Boolean not currently supported
> Exception: org.ofbiz.base.util.GeneralException
> Message: Conversion from java.lang.String to Boolean not currently supported
>
> Because of this, the permission can not be checked and the message is displayed "You do not have permission to view this page. ("PARTYMGR_VIEW" or "PARTYMGR_ADMIN" needed)" even that the permissions are correctly configured.
>
> The problem may be related to a possible bug on the conversion code. So, the workaround seems to be: do an ant clean-all every time before ant run-install.
>
> Regards,
> Cristian
>
> On 23/07/2010, at 6:15 PM, BJ Freeman wrote:
>
>> it sounnds like the install did not happen properly
>> do
>> ant clean-all
>> then
>> ant run-install
>> if your using linux
>> then use ./ant
>>
>> \\
>> \\Norbert Rieger sent the following on 7/23/2010 7:14 AM:
>>> I did a run-install.
>>>
>>> If no party is generated, how will I do this if I can not log in (I'm new to
>>> OFBiz maybe I do not yet understand the whole context) ?
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: BJ Freeman [mailto:bjfree@free-man.net]
>>> Gesendet: Freitag, 23. Juli 2010 16:01
>>> An: user@ofbiz.apache.org
>>> Betreff: Re: no permission for /partymgr, user admin
>>>
>>> did you do a
>>> ant run-install so you would have demo data?
>>> ant run-install-ext does not install any parties or log ins
>>> do a
>>> ant -p
>>> on how to create an admin account.
>>> this is only a log in with admin security it does not created any party.
>>>
>>> Norbert Rieger sent the following on 7/23/2010 6:07 AM:
>>>> Hi,
>>>>
>>>> I tried to log into /partymgr or /humanres with user admin and got the
>>> error
>>>> message:
>>>>
>>>> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
>>>> "PARTYMGR_ADMIN" needed)"
>>>>
>>>> Doesn't admin has this permissions on default or do I have to log in with
>>> a
>>>> different user ?
>>>>
>>>> How can I add this permissions to admin (or another user) ?
>>>>
>>>> Thanks a lot for your help.
>>>>
>>>> Norbert
>>>>
>>>> I'm working with trunk revision 967053 (build + run-install).
>>>>
>>>>
>>>
>>>
>
>

Re: AW: no permission for /partymgr, user admin

Posted by erp aql <er...@gmail.com>.
It seems that if you do a second ant run-install without an ant clean in between there is this boolean converter error:

       Could not convert field value for the field: [hasPermission] to the [Boolean] type for the value [true]: 
org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to Boolean not currently supported 
Exception: org.ofbiz.base.util.GeneralException 
Message: Conversion from java.lang.String to Boolean not currently supported 

Because of this, the permission can not be checked and the message is displayed "You do not have permission to view this page. ("PARTYMGR_VIEW" or "PARTYMGR_ADMIN" needed)" even that the permissions are correctly configured.

The problem may be related to a possible bug on the conversion code. So, the workaround seems to be: do an ant clean-all every time before ant run-install.

Regards,
Cristian

On 23/07/2010, at 6:15 PM, BJ Freeman wrote:

> it sounnds like the install did not happen properly
> do
> ant clean-all
> then
> ant run-install
> if your using linux
> then use ./ant
> 
> \\
> \\Norbert Rieger sent the following on 7/23/2010 7:14 AM:
>> I did a run-install.
>> 
>> If no party is generated, how will I do this if I can not log in (I'm new to
>> OFBiz maybe I do not yet understand the whole context) ?
>> 
>> -----Ursprüngliche Nachricht-----
>> Von: BJ Freeman [mailto:bjfree@free-man.net]
>> Gesendet: Freitag, 23. Juli 2010 16:01
>> An: user@ofbiz.apache.org
>> Betreff: Re: no permission for /partymgr, user admin
>> 
>> did you do a
>> ant run-install so you would have demo data?
>> ant run-install-ext does not install any parties or log ins
>> do a
>> ant -p
>> on how to create an admin account.
>> this is only a log in with admin security it does not created any party.
>> 
>> Norbert Rieger sent the following on 7/23/2010 6:07 AM:
>>> Hi,
>>> 
>>> I tried to log into /partymgr or /humanres with user admin and got the
>> error
>>> message:
>>> 
>>> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
>>> "PARTYMGR_ADMIN" needed)"
>>> 
>>> Doesn't admin has this permissions on default or do I have to log in with
>> a
>>> different user ?
>>> 
>>> How can I add this permissions to admin (or another user) ?
>>> 
>>> Thanks a lot for your help.
>>> 
>>> Norbert
>>> 
>>> I'm working with trunk revision 967053 (build + run-install).
>>> 
>>> 
>> 
>> 


Re: AW: no permission for /partymgr, user admin

Posted by BJ Freeman <bj...@free-man.net>.
it sounnds like the install did not happen properly
do
ant clean-all
then
ant run-install
if your using linux
then use ./ant

\\
\\Norbert Rieger sent the following on 7/23/2010 7:14 AM:
> I did a run-install.
>
> If no party is generated, how will I do this if I can not log in (I'm new to
> OFBiz maybe I do not yet understand the whole context) ?
>
> -----Ursprüngliche Nachricht-----
> Von: BJ Freeman [mailto:bjfree@free-man.net]
> Gesendet: Freitag, 23. Juli 2010 16:01
> An: user@ofbiz.apache.org
> Betreff: Re: no permission for /partymgr, user admin
>
> did you do a
> ant run-install so you would have demo data?
> ant run-install-ext does not install any parties or log ins
> do a
> ant -p
> on how to create an admin account.
> this is only a log in with admin security it does not created any party.
>
> Norbert Rieger sent the following on 7/23/2010 6:07 AM:
>> Hi,
>>
>> I tried to log into /partymgr or /humanres with user admin and got the
> error
>> message:
>>
>> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
>> "PARTYMGR_ADMIN" needed)"
>>
>> Doesn't admin has this permissions on default or do I have to log in with
> a
>> different user ?
>>
>> How can I add this permissions to admin (or another user) ?
>>
>> Thanks a lot for your help.
>>
>> Norbert
>>
>> I'm working with trunk revision 967053 (build + run-install).
>>
>>
>
>

AW: no permission for /partymgr, user admin

Posted by Norbert Rieger <nr...@lplusr.de>.
I did a run-install.

If no party is generated, how will I do this if I can not log in (I'm new to
OFBiz maybe I do not yet understand the whole context) ?

-----Ursprüngliche Nachricht-----
Von: BJ Freeman [mailto:bjfree@free-man.net] 
Gesendet: Freitag, 23. Juli 2010 16:01
An: user@ofbiz.apache.org
Betreff: Re: no permission for /partymgr, user admin

did you do a
ant run-install so you would have demo data?
ant run-install-ext does not install any parties or log ins
do a
ant -p
on how to create an admin account.
this is only a log in with admin security it does not created any party.

Norbert Rieger sent the following on 7/23/2010 6:07 AM:
> Hi,
>
> I tried to log into /partymgr or /humanres with user admin and got the
error
> message:
>
> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
> "PARTYMGR_ADMIN" needed)"
>
> Doesn't admin has this permissions on default or do I have to log in with
a
> different user ?
>
> How can I add this permissions to admin (or another user) ?
>
> Thanks a lot for your help.
>
> Norbert
>
> I'm working with trunk revision 967053 (build + run-install).
>
>


Re: no permission for /partymgr, user admin

Posted by BJ Freeman <bj...@free-man.net>.
did you do a
ant run-install so you would have demo data?
ant run-install-ext does not install any parties or log ins
do a
ant -p
on how to create an admin account.
this is only a log in with admin security it does not created any party.

Norbert Rieger sent the following on 7/23/2010 6:07 AM:
> Hi,
>
> I tried to log into /partymgr or /humanres with user admin and got the error
> message:
>
> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
> "PARTYMGR_ADMIN" needed)"
>
> Doesn't admin has this permissions on default or do I have to log in with a
> different user ?
>
> How can I add this permissions to admin (or another user) ?
>
> Thanks a lot for your help.
>
> Norbert
>
> I'm working with trunk revision 967053 (build + run-install).
>
>