From: JONATHAN K. <jon...@gm...> - 2015-02-04 17:01:04
|
What could I be missing because I am the admin On 3 Feb 2015 09:33, "Phil Daintree" <ph...@lo...> wrote: > Whoops! > Whilst the QA module is in the 4.12 release - there are no roles with > access! > To see the new QA functionality you need to add token 16 - QA to a > user's role permissions. > > To add QA to the sysadmin role run the following SQL: > > INSERT INTO `securitygroups` VALUES (8,16); > > sorry 'bout that! > > -- > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > http://www.logicworks.co.nz > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |
From: Andrew G. <aga...@re...> - 2015-02-04 17:07:09
Attachments:
image003.jpg
|
Do you see that program name in the scripts table in the database? If so maybe the authorization level isn’t correctly set. If it isn’t there then you need something like INSERT INTO `scripts` ( `script` , `pagesecurity` , `description` ) VALUES (z_importchartofaccounts.php', '15', 'Import Chart Of Accounts'); Best Regards, Andrew Galuski ResMart LLC. 817.615.2038 (Office) 817.821.0544 (Cell) www.resmart.com<http://www.resmart.com> [resmart_logo] From: JONATHAN KIRANGA [mailto:jon...@gm...] Sent: Wednesday, February 04, 2015 11:01 AM To: webERP Developers Subject: Re: [WebERP-developers] z_importchartofaccounts.php says no authorisation What could I be missing because I am the admin On 3 Feb 2015 09:33, "Phil Daintree" <ph...@lo...<mailto:ph...@lo...>> wrote: Whoops! Whilst the QA module is in the 4.12 release - there are no roles with access! To see the new QA functionality you need to add token 16 - QA to a user's role permissions. To add QA to the sysadmin role run the following SQL: INSERT INTO `securitygroups` VALUES (8,16); sorry 'bout that! -- Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Andrew G. <aga...@re...> - 2015-02-04 17:13:06
Attachments:
image001.png
|
You can check for this script in Main Menu, Setup, Page Security Settings. It should look like this: [cid:image001.png@01D0406B.844AB030] Best Regards, Andrew Galuski From: JONATHAN KIRANGA [mailto:jon...@gm...] Sent: Wednesday, February 04, 2015 11:01 AM To: webERP Developers Subject: Re: [WebERP-developers] z_importchartofaccounts.php says no authorisation What could I be missing because I am the admin On 3 Feb 2015 09:33, "Phil Daintree" <ph...@lo...<mailto:ph...@lo...>> wrote: Whoops! Whilst the QA module is in the 4.12 release - there are no roles with access! To see the new QA functionality you need to add token 16 - QA to a user's role permissions. To add QA to the sysadmin role run the following SQL: INSERT INTO `securitygroups` VALUES (8,16); sorry 'bout that! -- Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: JONATHAN K. <jon...@gm...> - 2015-02-04 17:28:56
Attachments:
image001.png
|
Hi I have set the page security to 15 but its still giving no authorisation. I did a var_dump ($password) and this is what am getting *object*(*xmlrpcval*)[*6*] *public* 'me' => *array* *(size=1)* 'string' => null -------------------------------here *public* 'mytype' => int 1 *public* '_php_class' => null i do have a password but why is it not showing On 4 Feb 2015 20:14, "Andrew Galuski" <aga...@re...> wrote: > You can check for this script in Main Menu, Setup, Page Security > Settings. > > > > It should look like this: > > > > Best Regards, > > Andrew Galuski > > > > *From:* JONATHAN KIRANGA [mailto:jon...@gm...] > *Sent:* Wednesday, February 04, 2015 11:01 AM > *To:* webERP Developers > *Subject:* Re: [WebERP-developers] z_importchartofaccounts.php says no > authorisation > > > > What could I be missing because I am the admin > > On 3 Feb 2015 09:33, "Phil Daintree" <ph...@lo...> wrote: > > Whoops! > Whilst the QA module is in the 4.12 release - there are no roles with > access! > To see the new QA functionality you need to add token 16 - QA to a > user's role permissions. > > To add QA to the sysadmin role run the following SQL: > > INSERT INTO `securitygroups` VALUES (8,16); > > sorry 'bout that! > > -- > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > http://www.logicworks.co.nz > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > |
From: Andrew G. <aga...@re...> - 2015-02-04 18:00:34
Attachments:
image001.png
|
Have you logged out and back in? The security array is built at login time and stored is a session variable. So you have to log out and back in to pick up changes. A simple one time hack is to add $AllowAnyone=true; to top line. Security is then bypassed. Just remove that afterwards or you leave a security hole. (I think that is the variable name but not 100% sure and I'm not at my desk to check. Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G LTE network. From: JONATHAN KIRANGA Sent: Wednesday, February 4, 2015 11:30 AM To: webERP Developers Reply To: webERP Developers Subject: Re: [WebERP-developers] z_importchartofaccounts.php says no authorisation Hi I have set the page security to 15 but its still giving no authorisation. I did a var_dump ($password) and this is what am getting object(xmlrpcval)[6] public 'me' => array (size=1) 'string' => null -------------------------------here public 'mytype' => int 1 public '_php_class' => null i do have a password but why is it not showing On 4 Feb 2015 20:14, "Andrew Galuski" <aga...@re...<mailto:aga...@re...>> wrote: You can check for this script in Main Menu, Setup, Page Security Settings. It should look like this: [cid:image001.png@01D0406B.844AB030] Best Regards, Andrew Galuski From: JONATHAN KIRANGA [mailto:jon...@gm...<mailto:jon...@gm...>] Sent: Wednesday, February 04, 2015 11:01 AM To: webERP Developers Subject: Re: [WebERP-developers] z_importchartofaccounts.php says no authorisation What could I be missing because I am the admin On 3 Feb 2015 09:33, "Phil Daintree" <ph...@lo...<mailto:ph...@lo...>> wrote: Whoops! Whilst the QA module is in the 4.12 release - there are no roles with access! To see the new QA functionality you need to add token 16 - QA to a user's role permissions. To add QA to the sysadmin role run the following SQL: INSERT INTO `securitygroups` VALUES (8,16); sorry 'bout that! -- Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: JONATHAN K. <jon...@gm...> - 2015-02-04 19:09:10
Attachments:
image001.png
|
Hi Even upto now, I get no authorisation. How does the system check using rpc calls. This is the hardest thing I have ever come across . On 4 Feb 2015 21:02, "Andrew Galuski" <aga...@re...> wrote: > Have you logged out and back in? The security array is built at login > time and stored is a session variable. So you have to log out and back in > to pick up changes. > > A simple one time hack is to add $AllowAnyone=true; to top line. > Security is then bypassed. Just remove that afterwards or you leave a > security hole. (I think that is the variable name but not 100% sure and > I'm not at my desk to check. > > > > Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G LTE > network. > *From: *JONATHAN KIRANGA > *Sent: *Wednesday, February 4, 2015 11:30 AM > *To: *webERP Developers > *Reply To: *webERP Developers > *Subject: *Re: [WebERP-developers] z_importchartofaccounts.php says no > authorisation > > Hi > I have set the page security to 15 but its still giving no authorisation. > I did a var_dump ($password) > > and this is what am getting > > *object*(*xmlrpcval*)[*6*] > *public* 'me' => > *array* *(size=1)* > 'string' => null -------------------------------here > *public* 'mytype' => int 1 > *public* '_php_class' => null > > i do have a password but why is it not showing > > > > > > On 4 Feb 2015 20:14, "Andrew Galuski" <aga...@re...> wrote: > >> You can check for this script in Main Menu, Setup, Page Security >> Settings. >> >> >> >> It should look like this: >> >> >> >> Best Regards, >> >> Andrew Galuski >> >> >> >> *From:* JONATHAN KIRANGA [mailto:jon...@gm...] >> *Sent:* Wednesday, February 04, 2015 11:01 AM >> *To:* webERP Developers >> *Subject:* Re: [WebERP-developers] z_importchartofaccounts.php says no >> authorisation >> >> >> >> What could I be missing because I am the admin >> >> On 3 Feb 2015 09:33, "Phil Daintree" <ph...@lo...> wrote: >> >> Whoops! >> Whilst the QA module is in the 4.12 release - there are no roles with >> access! >> To see the new QA functionality you need to add token 16 - QA to a >> user's role permissions. >> >> To add QA to the sysadmin role run the following SQL: >> >> INSERT INTO `securitygroups` VALUES (8,16); >> >> sorry 'bout that! >> >> -- >> Phil >> >> Phil Daintree >> Logic Works Ltd - +64 (0)275 567890 >> http://www.logicworks.co.nz >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > |
From: Andrew G. <aga...@re...> - 2015-02-04 19:29:10
Attachments:
image001.png
|
I am not sure what you are trying to do now. Are you running the application in a browser or trying to perform some sort of API? Can you send screen shots of the message as well as the version you are running.. From: JONATHAN KIRANGA [mailto:jon...@gm...] Sent: Wednesday, February 04, 2015 1:09 PM To: webERP Developers Subject: Re: [WebERP-developers] z_importchartofaccounts.php says no authorisation Hi Even upto now, I get no authorisation. How does the system check using rpc calls. This is the hardest thing I have ever come across . On 4 Feb 2015 21:02, "Andrew Galuski" <aga...@re...<mailto:aga...@re...>> wrote: Have you logged out and back in? The security array is built at login time and stored is a session variable. So you have to log out and back in to pick up changes. A simple one time hack is to add $AllowAnyone=true; to top line. Security is then bypassed. Just remove that afterwards or you leave a security hole. (I think that is the variable name but not 100% sure and I'm not at my desk to check. Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G LTE network. From: JONATHAN KIRANGA Sent: Wednesday, February 4, 2015 11:30 AM To: webERP Developers Reply To: webERP Developers Subject: Re: [WebERP-developers] z_importchartofaccounts.php says no authorisation Hi I have set the page security to 15 but its still giving no authorisation. I did a var_dump ($password) and this is what am getting object(xmlrpcval)[6] public 'me' => array (size=1) 'string' => null -------------------------------here public 'mytype' => int 1 public '_php_class' => null i do have a password but why is it not showing On 4 Feb 2015 20:14, "Andrew Galuski" <aga...@re...<mailto:aga...@re...>> wrote: You can check for this script in Main Menu, Setup, Page Security Settings. It should look like this: [cid:image001.png@01D0407E.8649B9E0] Best Regards, Andrew Galuski From: JONATHAN KIRANGA [mailto:jon...@gm...<mailto:jon...@gm...>] Sent: Wednesday, February 04, 2015 11:01 AM To: webERP Developers Subject: Re: [WebERP-developers] z_importchartofaccounts.php says no authorisation What could I be missing because I am the admin On 3 Feb 2015 09:33, "Phil Daintree" <ph...@lo...<mailto:ph...@lo...>> wrote: Whoops! Whilst the QA module is in the 4.12 release - there are no roles with access! To see the new QA functionality you need to add token 16 - QA to a user's role permissions. To add QA to the sysadmin role run the following SQL: INSERT INTO `securitygroups` VALUES (8,16); sorry 'bout that! -- Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Phil D. <ph...@lo...> - 2015-02-05 08:10:38
|
The api is hard coded to use the database weberpdemo in the script /webERP/api/api_php.php at line 6: // FOLLOWING IS ALWAYS REQUIRED $api_DatabaseName='weberpdemo'; If you change the weberpdemo to the name of your webERP company database then you may have better luck. Best though to use phpMyAdmin for importing a chart though. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 05/02/15 06:28, JONATHAN KIRANGA wrote: > > Hi > I have set the page security to 15 but its still giving no > authorisation. I did a var_dump ($password) > > and this is what am getting > > *object*(/xmlrpcval/)[/6/] > /public/ 'me'=> > *array* /(size=1)/ > 'string'=> null -------------------------------here > /public/ 'mytype'=> int 1 > /public/ '_php_class'=> null > > i do have a password but why is it not showing > > > > > > On 4 Feb 2015 20:14, "Andrew Galuski" <aga...@re... > <mailto:aga...@re...>> wrote: > > You can check for this script in Main Menu, Setup, Page Security > Settings. > > It should look like this: > > Best Regards, > > Andrew Galuski > > *From:*JONATHAN KIRANGA [mailto:jon...@gm... > <mailto:jon...@gm...>] > *Sent:* Wednesday, February 04, 2015 11:01 AM > *To:* webERP Developers > *Subject:* Re: [WebERP-developers] z_importchartofaccounts.php > says no authorisation > > What could I be missing because I am the admin > > On 3 Feb 2015 09:33, "Phil Daintree" <ph...@lo... > <mailto:ph...@lo...>> wrote: > > Whoops! > Whilst the QA module is in the 4.12 release - there are no roles with > access! > To see the new QA functionality you need to add token 16 - QA to a > user's role permissions. > > To add QA to the sysadmin role run the following SQL: > > INSERT INTO `securitygroups` VALUES (8,16); > > sorry 'bout that! > > -- > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > http://www.logicworks.co.nz > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot > Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and > more. Take a > look and join the conversation now. > http://goparallel.sourceforge.net/ > <http://goparallel.sourceforge.net/> > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot > Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and > more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Abel G. <ab...@ab...> - 2015-02-04 20:49:58
|
Hi, with version****2.1.2 and it's working apparently fine.** **But I cant figure out how to make a user to have access to the sales point. I have created a user that I want it to have access to the cash-boxes only. I tried giving it different permissions, but nothing seems to work. I though that only by activating Configure>Permissions>(Users's) Privileges, and then check "Permit the usage of all cashboxes." or mark use only one it would work. What else do I need to do to give someone access the the cash boxes? *Off topic:* Do you have a github repository where people can contribute? Otherwise what is the way? I am a PHP developer, I am interested on contributing to the project. Regards and thank you in advanced Abel |
From: Rafael C. <raf...@gm...> - 2015-02-04 22:00:20
|
Hi Abel: The webERP *4.12* was released on Tuesday, January 27, 2015. I recommend you upgrading to that version. Are you looking for Petty Cash access? Some scripts are in "Petty Cash", others in "User Management and System Administration" (see Page Security Levels). You can assign those Security Tokens to a role (see Access Permissions Maintenance). For contributions: * Join the developers mailing list: http://lists.sourceforge.net/lists/listinfo/web-erp-developers * Code: http://sourceforge.net/p/web-erp/code/HEAD/tree/trunk/ * guidelines: http://www.weberp.org/Development.html Best regards, Rafael. 2015-02-04 14:19 GMT-06:00 Abel Guzman <ab...@ab...>: > Hi, with version 2.1.2 and it's working apparently fine. > > But I cant figure out how to make a user to have access to the sales point. > > I have created a user that I want it to have access to the cash-boxes > only. I tried giving it different permissions, but nothing seems to work. > I though that only by activating Configure>Permissions>(Users's) > Privileges, and then check "Permit the usage of all cashboxes." or mark use > only one it would work. > > What else do I need to do to give someone access the the cash boxes? > > *Off topic:* > Do you have a github repository where people can contribute? Otherwise > what is the way? > I am a PHP developer, I am interested on contributing to the project. > > Regards and thank you in advanced > Abel > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > |
From: Phil D. <ph...@lo...> - 2015-02-05 08:08:03
|
Yes this script is a bit silly - it uses the api to try to insert a chart master record! Much easier to simply import the chart directly into the chartmaster table directly using phpMyAdmin! I think it was written more as an example for how the api could be used. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 05/02/15 08:09, JONATHAN KIRANGA wrote: > > Hi > > Even upto now, I get no authorisation. > > How does the system check using rpc calls. This is the hardest thing > I have ever come across . > > On 4 Feb 2015 21:02, "Andrew Galuski" <aga...@re... > <mailto:aga...@re...>> wrote: > > Have you logged out and back in? The security array is built at > login time and stored is a session variable. So you have to log > out and back in to pick up changes. > > A simple one time hack is to add $AllowAnyone=true; to top line. > Security is then bypassed. Just remove that afterwards or you > leave a security hole. (I think that is the variable name but > not 100% sure and I'm not at my desk to check. > > > > Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G > LTE network. > *From: *JONATHAN KIRANGA > *Sent: *Wednesday, February 4, 2015 11:30 AM > *To: *webERP Developers > *Reply To: *webERP Developers > *Subject: *Re: [WebERP-developers] z_importchartofaccounts.php > says no authorisation > > > Hi > I have set the page security to 15 but its still giving no > authorisation. I did a var_dump ($password) > > and this is what am getting > > *object*(/xmlrpcval/)[/6/] > /public/ 'me'=> > *array* /(size=1)/ > 'string'=> null -------------------------------here > /public/ 'mytype'=> int 1 > /public/ '_php_class'=> null > > i do have a password but why is it not showing > > > > > > On 4 Feb 2015 20:14, "Andrew Galuski" <aga...@re... > <mailto:aga...@re...>> wrote: > > You can check for this script in Main Menu, Setup, Page > Security Settings. > > It should look like this: > > Best Regards, > > Andrew Galuski > > *From:*JONATHAN KIRANGA [mailto:jon...@gm... > <mailto:jon...@gm...>] > *Sent:* Wednesday, February 04, 2015 11:01 AM > *To:* webERP Developers > *Subject:* Re: [WebERP-developers] z_importchartofaccounts.php > says no authorisation > > What could I be missing because I am the admin > > On 3 Feb 2015 09:33, "Phil Daintree" <ph...@lo... > <mailto:ph...@lo...>> wrote: > > Whoops! > Whilst the QA module is in the 4.12 release - there are no > roles with > access! > To see the new QA functionality you need to add token 16 - QA to a > user's role permissions. > > To add QA to the sysadmin role run the following SQL: > > INSERT INTO `securitygroups` VALUES (8,16); > > sorry 'bout that! > > -- > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > http://www.logicworks.co.nz > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel > Website, > sponsored by Intel and developed in partnership with Slashdot > Media, is your > hub for all things parallel software development, from weekly > thought > leadership blogs to news, videos, case studies, tutorials and > more. Take a > look and join the conversation now. > http://goparallel.sourceforge.net/ > <http://goparallel.sourceforge.net/> > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel > Website, > sponsored by Intel and developed in partnership with Slashdot > Media, is your > hub for all things parallel software development, from weekly > thought > leadership blogs to news, videos, case studies, tutorials and > more. Take a > look and join the conversation now. > http://goparallel.sourceforge.net/ > <http://goparallel.sourceforge.net/> > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot > Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and > more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: JONATHAN K. <jon...@gm...> - 2015-02-05 08:36:04
|
Hi It works when you use an input field to enter userid and password On 5 Feb 2015 11:09, "Phil Daintree" <ph...@lo...> wrote: > Yes this script is a bit silly - it uses the api to try to insert a > chart master record! > Much easier to simply import the chart directly into the chartmaster table > directly using phpMyAdmin! I think it was written more as an example for > how the api could be used. > > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890http://www.logicworks.co.nz > > On 05/02/15 08:09, JONATHAN KIRANGA wrote: > > Hi > > Even upto now, I get no authorisation. > > How does the system check using rpc calls. This is the hardest thing I > have ever come across . > On 4 Feb 2015 21:02, "Andrew Galuski" <aga...@re...> wrote: > >> Have you logged out and back in? The security array is built at login >> time and stored is a session variable. So you have to log out and back in >> to pick up changes. >> >> A simple one time hack is to add $AllowAnyone=true; to top line. >> Security is then bypassed. Just remove that afterwards or you leave a >> security hole. (I think that is the variable name but not 100% sure and >> I'm not at my desk to check. >> >> >> >> Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G LTE >> network. >> *From: *JONATHAN KIRANGA >> *Sent: *Wednesday, February 4, 2015 11:30 AM >> *To: *webERP Developers >> *Reply To: *webERP Developers >> *Subject: *Re: [WebERP-developers] z_importchartofaccounts.php says no >> authorisation >> >> Hi >> I have set the page security to 15 but its still giving no >> authorisation. I did a var_dump ($password) >> >> and this is what am getting >> >> *object*(*xmlrpcval*)[*6*] >> *public* 'me' => >> *array* *(size=1)* >> 'string' => null -------------------------------here >> *public* 'mytype' => int 1 >> *public* '_php_class' => null >> >> >> i do have a password but why is it not showing >> >> >> >> >> >> On 4 Feb 2015 20:14, "Andrew Galuski" <aga...@re...> wrote: >> >>> You can check for this script in Main Menu, Setup, Page Security >>> Settings. >>> >>> >>> >>> It should look like this: >>> >>> >>> >>> Best Regards, >>> >>> Andrew Galuski >>> >>> >>> >>> *From:* JONATHAN KIRANGA [mailto:jon...@gm...] >>> *Sent:* Wednesday, February 04, 2015 11:01 AM >>> *To:* webERP Developers >>> *Subject:* Re: [WebERP-developers] z_importchartofaccounts.php says no >>> authorisation >>> >>> >>> >>> What could I be missing because I am the admin >>> >>> On 3 Feb 2015 09:33, "Phil Daintree" <ph...@lo...> wrote: >>> >>> Whoops! >>> Whilst the QA module is in the 4.12 release - there are no roles with >>> access! >>> To see the new QA functionality you need to add token 16 - QA to a >>> user's role permissions. >>> >>> To add QA to the sysadmin role run the following SQL: >>> >>> INSERT INTO `securitygroups` VALUES (8,16); >>> >>> sorry 'bout that! >>> >>> -- >>> Phil >>> >>> Phil Daintree >>> Logic Works Ltd - +64 (0)275 567890 >>> http://www.logicworks.co.nz >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming. The Go Parallel Website, >>> sponsored by Intel and developed in partnership with Slashdot Media, is >>> your >>> hub for all things parallel software development, from weekly thought >>> leadership blogs to news, videos, case studies, tutorials and more. Take >>> a >>> look and join the conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Web-erp-developers mailing list >>> Web...@li... >>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming. The Go Parallel Website, >>> sponsored by Intel and developed in partnership with Slashdot Media, is >>> your >>> hub for all things parallel software development, from weekly thought >>> leadership blogs to news, videos, case studies, tutorials and more. Take >>> a >>> look and join the conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Web-erp-developers mailing list >>> Web...@li... >>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> >>> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Web-erp-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > |