From: Pak R. <pak...@gm...> - 2014-10-23 02:12:59
|
Hi all: I'm testing v4.11.5 and I see everytime I log in it runs Dashboard. Is there any way to deactivate the Dashboard besides commenting the code if ($FirstLogin AND !$SupplierLogin AND !$CustomerLogin) { header('Location: ' . $PathPrefix .'Dashboard.php'); } in session.inc? Is there any config flag to activate / deactivate it? Regards, Ricard |
From: Andrew G. <aga...@re...> - 2014-10-23 03:16:23
|
No config I know of. I originally made it as a top right menu option but I think others made it the default. I'm flattered but I know it isn't for everyone. Sent from my BlackBerry 10 smartphone From: Pak Ricard Sent: Wednesday, October 22, 2014 7:13 PM To: webERP Developers Reply To: webERP Developers Subject: [WebERP-developers] Desactivation of Dashboard Hi all: I'm testing v4.11.5 and I see everytime I log in it runs Dashboard. Is there any way to deactivate the Dashboard besides commenting the code if ($FirstLogin AND !$SupplierLogin AND !$CustomerLogin) { header('Location: ' . $PathPrefix .'Dashboard.php'); } in session.inc? Is there any config flag to activate / deactivate it? Regards, Ricard |
From: rfthomas <rf...@as...> - 2014-10-24 14:34:26
|
My management does not want the Dashboard displayed to all of our in-house users automatically. We have made simple changes to session.inc and header.inc to stop displaying the dashboard on initial login and to add to the top quick access links. I have not investigated security token checking in Dashboard.php. Header.inc after line 75: echo '<li> ' . _('Dashboard') . ' <'.$RootPath.'/Dashboard.php> </li>'; Session.inc commented out lines 215 – 217: /* if ($FirstLogin AND !$SupplierLogin AND !$CustomerLogin) { header('Location: ' . $PathPrefix .'Dashboard.php'); } */ Bob Thomas -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Desactivation-of-Dashboard-tp4657740p4657744.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |
From: Arwan <r1g...@gm...> - 2014-10-23 21:39:53
|
Hi, I would also be interested in replacing the code to activate/deactivate the dashboard with code that would display the dashboard only for specific users. E.g if ($FirstLogin AND !$SupplierLogin AND !$CustomerLogin) * AND (www_users.userid = 'johndoe')* { header('Location: ' . $PathPrefix .'Dashboard.php'); } Arwan Nairobi, Kenya ----- WebTech Resources Nairobi Kenya +254 724659244 Email :in...@we... WEB :weberp.co.ke -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Desactivation-of-Dashboard-tp4657740p4657743.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |
From: Phil D. <ph...@lo...> - 2014-10-25 02:37:34
|
Maybe it should just be a menu link - not sure where - but I don't think on the top menu. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 24/10/14 10:36, Arwan wrote: > Hi, > > I would also be interested in replacing the code to activate/deactivate the > dashboard with > code that would display the dashboard only for specific users. > > E.g > > if ($FirstLogin AND !$SupplierLogin AND !$CustomerLogin) * AND > (www_users.userid = 'johndoe')* { > header('Location: ' . $PathPrefix .'Dashboard.php'); > } > > > > Arwan > > Nairobi, Kenya > > > > ----- > WebTech Resources > Nairobi Kenya > +254 724659244 > Email :in...@we... > WEB :weberp.co.ke > > -- > View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Desactivation-of-Dashboard-tp4657740p4657743.html > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |
From: Rafael C. <raf...@gm...> - 2014-10-25 02:48:22
|
Hi, Dashboard could be a link as a small balanced scorecard in Financial perspective, but I think is interesting have it at the start of the session (a useful summary). In all cases, a possible "to-do" is to have a "Page Security Levels" for its different sections. Regards, Rafael. 2014-10-24 20:37 GMT-06:00 Phil Daintree <ph...@lo...>: > Maybe it should just be a menu link - not sure where - but I don't think > on the top menu. > > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > http://www.logicworks.co.nz > > On 24/10/14 10:36, Arwan wrote: > > Hi, > > > > I would also be interested in replacing the code to activate/deactivate > the > > dashboard with > > code that would display the dashboard only for specific users. > > > > E.g > > > > if ($FirstLogin AND !$SupplierLogin AND !$CustomerLogin) * AND > > (www_users.userid = 'johndoe')* { > > header('Location: ' . $PathPrefix .'Dashboard.php'); > > } > > > > > > > > Arwan > > > > Nairobi, Kenya > > > > > > > > ----- > > WebTech Resources > > Nairobi Kenya > > +254 724659244 > > Email :in...@we... > > WEB :weberp.co.ke > > > > -- > > View this message in context: > http://weberp-accounting.1478800.n4.nabble.com/Desactivation-of-Dashboard-tp4657740p4657743.html > > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |
From: Andrew G. <aga...@re...> - 2014-10-25 03:03:45
|
Page security levels are already part of each section. Sent from my BlackBerry 10 smartphone From: Rafael Chacón Sent: Friday, October 24, 2014 9:49 PM To: webERP Developers Reply To: webERP Developers Subject: Re: [WebERP-developers] Desactivation of Dashboard Hi, Dashboard could be a link as a small balanced scorecard in Financial perspective, but I think is interesting have it at the start of the session (a useful summary). In all cases, a possible "to-do" is to have a "Page Security Levels" for its different sections. Regards, Rafael. 2014-10-24 20:37 GMT-06:00 Phil Daintree <ph...@lo...<mailto:ph...@lo...>>: Maybe it should just be a menu link - not sure where - but I don't think on the top menu. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890<tel:%2B64%20%280%29275%20567890> http://www.logicworks.co.nz On 24/10/14 10:36, Arwan wrote: > Hi, > > I would also be interested in replacing the code to activate/deactivate the > dashboard with > code that would display the dashboard only for specific users. > > E.g > > if ($FirstLogin AND !$SupplierLogin AND !$CustomerLogin) * AND > (www_users.userid = 'johndoe')* { > header('Location: ' . $PathPrefix .'Dashboard.php'); > } > > > > Arwan > > Nairobi, Kenya > > > > ----- > WebTech Resources > Nairobi Kenya > +254 724659244<tel:%2B254%20724659244> > Email :in...@we...<mailto:in...@we...> > WEB :weberp.co.ke<http://weberp.co.ke> > > -- > View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Desactivation-of-Dashboard-tp4657740p4657743.html > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Web-erp-developers mailing list > Web...@li...<mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > ------------------------------------------------------------------------------ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Rafael C. <raf...@gm...> - 2014-10-25 03:13:50
|
If Page security levels are already part of each section, nothing to do. Only deactivate "Dashboard" in this Page security levels should be enough. Am I missing something? --------- 2014-10-24 21:03 GMT-06:00 Andrew Galuski <aga...@re...>: > Page security levels are already part of each section. > > Sent from my BlackBerry 10 smartphone > *From: *Rafael Chacón > *Sent: *Friday, October 24, 2014 9:49 PM > *To: *webERP Developers > *Reply To: *webERP Developers > *Subject: *Re: [WebERP-developers] Desactivation of Dashboard > > Hi, > > Dashboard could be a link as a small balanced scorecard in Financial > perspective, but I think is interesting have it at the start of the session > (a useful summary). In all cases, a possible "to-do" is to have a "Page > Security Levels" for its different sections. > > Regards, Rafael. > > 2014-10-24 20:37 GMT-06:00 Phil Daintree <ph...@lo...>: > >> Maybe it should just be a menu link - not sure where - but I don't think >> on the top menu. >> >> Phil >> >> Phil Daintree >> Logic Works Ltd - +64 (0)275 567890 >> http://www.logicworks.co.nz >> >> On 24/10/14 10:36, Arwan wrote: >> > Hi, >> > >> > I would also be interested in replacing the code to activate/deactivate >> the >> > dashboard with >> > code that would display the dashboard only for specific users. >> > >> > E.g >> > >> > if ($FirstLogin AND !$SupplierLogin AND !$CustomerLogin) * AND >> > (www_users.userid = 'johndoe')* { >> > header('Location: ' . $PathPrefix .'Dashboard.php'); >> > } >> > >> > >> > >> > Arwan >> > >> > Nairobi, Kenya >> > >> > >> > >> > ----- >> > WebTech Resources >> > Nairobi Kenya >> > +254 724659244 >> > Email :in...@we... >> > WEB :weberp.co.ke >> > >> > -- >> > View this message in context: >> http://weberp-accounting.1478800.n4.nabble.com/Desactivation-of-Dashboard-tp4657740p4657743.html >> > Sent from the web-ERP-developers mailing list archive at Nabble.com. >> > >> > >> ------------------------------------------------------------------------------ >> > _______________________________________________ >> > Web-erp-developers mailing list >> > Web...@li... >> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> > >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > |
From: Phil D. <ph...@lo...> - 2014-10-25 06:19:43
|
Nope sounds like a plan Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 25/10/14 16:13, Rafael Chacón wrote: > If Page security levels are already part of each section, nothing to > do. Only deactivate "Dashboard" in this Page security levels should be > enough. > > Am I missing something? > > --------- > 2014-10-24 21:03 GMT-06:00 Andrew Galuski <aga...@re... > <mailto:aga...@re...>>: > > Page security levels are already part of each section. > > Sent from my BlackBerry 10 smartphone > *From: *Rafael Chacón > *Sent: *Friday, October 24, 2014 9:49 PM > *To: *webERP Developers > *Reply To: *webERP Developers > *Subject: *Re: [WebERP-developers] Desactivation of Dashboard > > > Hi, > > Dashboard could be a link as a small balanced scorecard in > Financial perspective, but I think is interesting have it at the > start of the session (a useful summary). In all cases, a possible > "to-do" is to have a "Page Security Levels" for its different > sections. > > Regards, Rafael. > > 2014-10-24 20:37 GMT-06:00 Phil Daintree <ph...@lo... > <mailto:ph...@lo...>>: > > Maybe it should just be a menu link - not sure where - but I > don't think > on the top menu. > > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > <tel:%2B64%20%280%29275%20567890> > http://www.logicworks.co.nz > > On 24/10/14 10:36, Arwan wrote: > > Hi, > > > > I would also be interested in replacing the code to > activate/deactivate the > > dashboard with > > code that would display the dashboard only for specific users. > > > > E.g > > > > if ($FirstLogin AND !$SupplierLogin AND !$CustomerLogin) * AND > > (www_users.userid = 'johndoe')* { > > header('Location: ' . $PathPrefix .'Dashboard.php'); > > } > > > > > > > > Arwan > > > > Nairobi, Kenya > > > > > > > > ----- > > WebTech Resources > > Nairobi Kenya > > +254 724659244 <tel:%2B254%20724659244> > > Email :in...@we... <mailto:in...@we...> > > WEB :weberp.co.ke <http://weberp.co.ke> > > > > -- > > View this message in context: > http://weberp-accounting.1478800.n4.nabble.com/Desactivation-of-Dashboard-tp4657740p4657743.html > > Sent from the web-ERP-developers mailing list archive at > Nabble.com. > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > <mailto:Web...@li...> > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Pak R. <pak...@gm...> - 2014-10-25 06:48:58
|
Hi: It does not work OK, as with this solution you get a unpleasant "The security settings on your account do not permit you to access this function." maybe the most elegant solution should be a config flag, and everybody can set accordingly to their wishes, I guess. Regards, Ricard 2014-10-25 14:19 GMT+08:00 Phil Daintree <ph...@lo...>: > Nope sounds like a plan > > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890http://www.logicworks.co.nz > > On 25/10/14 16:13, Rafael Chacón wrote: > > If Page security levels are already part of each section, nothing to do. > Only deactivate "Dashboard" in this Page security levels should be enough. > > Am I missing something? > > --------- > 2014-10-24 21:03 GMT-06:00 Andrew Galuski <aga...@re...>: > >> Page security levels are already part of each section. >> >> Sent from my BlackBerry 10 smartphone >> *From: *Rafael Chacón >> *Sent: *Friday, October 24, 2014 9:49 PM >> *To: *webERP Developers >> *Reply To: *webERP Developers >> *Subject: *Re: [WebERP-developers] Desactivation of Dashboard >> >> Hi, >> >> Dashboard could be a link as a small balanced scorecard in Financial >> perspective, but I think is interesting have it at the start of the session >> (a useful summary). In all cases, a possible "to-do" is to have a "Page >> Security Levels" for its different sections. >> >> Regards, Rafael. >> >> 2014-10-24 20:37 GMT-06:00 Phil Daintree <ph...@lo...>: >> >>> Maybe it should just be a menu link - not sure where - but I don't think >>> on the top menu. >>> >>> Phil >>> >>> Phil Daintree >>> Logic Works Ltd - +64 (0)275 567890 >>> http://www.logicworks.co.nz >>> >>> On 24/10/14 10:36, Arwan wrote: >>> > Hi, >>> > >>> > I would also be interested in replacing the code to >>> activate/deactivate the >>> > dashboard with >>> > code that would display the dashboard only for specific users. >>> > >>> > E.g >>> > >>> > if ($FirstLogin AND !$SupplierLogin AND !$CustomerLogin) * AND >>> > (www_users.userid = 'johndoe')* { >>> > header('Location: ' . $PathPrefix .'Dashboard.php'); >>> > } >>> > >>> > >>> > >>> > Arwan >>> > >>> > Nairobi, Kenya >>> > >>> > >>> > >>> > ----- >>> > WebTech Resources >>> > Nairobi Kenya >>> > +254 724659244 <%2B254%20724659244> >>> > Email :in...@we... >>> > WEB :weberp.co.ke >>> > >>> > -- >>> > View this message in context: >>> http://weberp-accounting.1478800.n4.nabble.com/Desactivation-of-Dashboard-tp4657740p4657743.html >>> > Sent from the web-ERP-developers mailing list archive at Nabble.com. >>> > >>> > >>> ------------------------------------------------------------------------------ >>> > _______________________________________________ >>> > Web-erp-developers mailing list >>> > Web...@li... >>> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> > >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Web-erp-developers mailing list >>> Web...@li... >>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Web-erp-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > |
From: Andrew G. <aga...@re...> - 2014-10-25 13:57:52
|
If you set security token to 0 then users with no permissions get blank page. Each section of dashboard has security. No ugly message. If no access to page then just blank for that section. Sent from my BlackBerry 10 smartphone From: Pak Ricard Sent: Saturday, October 25, 2014 1:49 AM To: webERP Developers Reply To: webERP Developers Subject: Re: [WebERP-developers] Desactivation of Dashboard Hi: It does not work OK, as with this solution you get a unpleasant "The security settings on your account do not permit you to access this function." maybe the most elegant solution should be a config flag, and everybody can set accordingly to their wishes, I guess. Regards, Ricard 2014-10-25 14:19 GMT+08:00 Phil Daintree <ph...@lo...<mailto:ph...@lo...>>: Nope sounds like a plan Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 25/10/14 16:13, Rafael Chac?n wrote: If Page security levels are already part of each section, nothing to do. Only deactivate "Dashboard" in this Page security levels should be enough. Am I missing something? --------- 2014-10-24 21:03 GMT-06:00 Andrew Galuski <aga...@re...<mailto:aga...@re...>>: Page security levels are already part of each section. Sent from my BlackBerry 10 smartphone From: Rafael Chac?n Sent: Friday, October 24, 2014 9:49 PM To: webERP Developers Reply To: webERP Developers Subject: Re: [WebERP-developers] Desactivation of Dashboard Hi, Dashboard could be a link as a small balanced scorecard in Financial perspective, but I think is interesting have it at the start of the session (a useful summary). In all cases, a possible "to-do" is to have a "Page Security Levels" for its different sections. Regards, Rafael. 2014-10-24 20:37 GMT-06:00 Phil Daintree <ph...@lo...<mailto:ph...@lo...>>: Maybe it should just be a menu link - not sure where - but I don't think on the top menu. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890<tel:%2B64%20%280%29275%20567890> http://www.logicworks.co.nz On 24/10/14 10:36, Arwan wrote: > Hi, > > I would also be interested in replacing the code to activate/deactivate the > dashboard with > code that would display the dashboard only for specific users. > > E.g > > if ($FirstLogin AND !$SupplierLogin AND !$CustomerLogin) * AND > (www_users.userid = 'johndoe')* { > header('Location: ' . $PathPrefix .'Dashboard.php'); > } > > > > Arwan > > Nairobi, Kenya > > > > ----- > WebTech Resources > Nairobi Kenya > +254 724659244<tel:%2B254%20724659244> > Email :in...@we...<mailto:in...@we...> > WEB :weberp.co.ke<http://weberp.co.ke> > > -- > View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Desactivation-of-Dashboard-tp4657740p4657743.html > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Web-erp-developers mailing list > Web...@li...<mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > ------------------------------------------------------------------------------ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers ------------------------------------------------------------------------------ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers ------------------------------------------------------------------------------ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers ------------------------------------------------------------------------------ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Phil D. <ph...@lo...> - 2014-10-25 07:04:14
|
Well - maybe a little delicacy with the coding of the permissions could display or not display certain elements - or not display the page at all depending on permissions Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 25/10/14 19:48, Pak Ricard wrote: > Hi: > > It does not work OK, as with this solution you get a unpleasant "The > security settings on your account do not permit you to access this > function." > > maybe the most elegant solution should be a config flag, and everybody > can set accordingly to their wishes, I guess. > > > Regards, > Ricard > > 2014-10-25 14:19 GMT+08:00 Phil Daintree <ph...@lo... > <mailto:ph...@lo...>>: > > Nope sounds like a plan > > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > http://www.logicworks.co.nz > > On 25/10/14 16:13, Rafael Chacón wrote: >> If Page security levels are already part of each section, nothing >> to do. Only deactivate "Dashboard" in this Page security levels >> should be enough. >> >> Am I missing something? >> >> --------- >> 2014-10-24 21:03 GMT-06:00 Andrew Galuski <aga...@re... >> <mailto:aga...@re...>>: >> >> Page security levels are already part of each section. >> >> Sent from my BlackBerry 10 smartphone >> *From: *Rafael Chacón >> *Sent: *Friday, October 24, 2014 9:49 PM >> *To: *webERP Developers >> *Reply To: *webERP Developers >> *Subject: *Re: [WebERP-developers] Desactivation of Dashboard >> >> >> Hi, >> >> Dashboard could be a link as a small balanced scorecard in >> Financial perspective, but I think is interesting have it at >> the start of the session (a useful summary). In all cases, a >> possible "to-do" is to have a "Page Security Levels" for its >> different sections. >> >> Regards, Rafael. >> >> 2014-10-24 20:37 GMT-06:00 Phil Daintree >> <ph...@lo... <mailto:ph...@lo...>>: >> >> Maybe it should just be a menu link - not sure where - >> but I don't think >> on the top menu. >> >> Phil >> >> Phil Daintree >> Logic Works Ltd - +64 (0)275 567890 >> <tel:%2B64%20%280%29275%20567890> >> http://www.logicworks.co.nz >> >> On 24/10/14 10:36, Arwan wrote: >> > Hi, >> > >> > I would also be interested in replacing the code to >> activate/deactivate the >> > dashboard with >> > code that would display the dashboard only for specific >> users. >> > >> > E.g >> > >> > if ($FirstLogin AND !$SupplierLogin AND >> !$CustomerLogin) * AND >> > (www_users.userid = 'johndoe')* { >> > header('Location: ' . $PathPrefix .'Dashboard.php'); >> > } >> > >> > >> > >> > Arwan >> > >> > Nairobi, Kenya >> > >> > >> > >> > ----- >> > WebTech Resources >> > Nairobi Kenya >> > +254 724659244 <tel:%2B254%20724659244> >> > Email :in...@we... <mailto:in...@we...> >> > WEB :weberp.co.ke <http://weberp.co.ke> >> > >> > -- >> > View this message in context: >> http://weberp-accounting.1478800.n4.nabble.com/Desactivation-of-Dashboard-tp4657740p4657743.html >> > Sent from the web-ERP-developers mailing list archive >> at Nabble.com. >> > >> > >> ------------------------------------------------------------------------------ >> > _______________________________________________ >> > Web-erp-developers mailing list >> > Web...@li... >> <mailto:Web...@li...> >> > >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> > >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> <mailto:Web...@li...> >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> <mailto:Web...@li...> >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... <mailto:Web...@li...> >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Andrew G. <aga...@re...> - 2014-10-25 14:01:36
|
Elements are already taken care of (w/out ugly messages). Basically before each section of dashboard code looks up similar permissions and only display section if authorized. Example. Overdue a/r section mirrors security based on a/r debtor balance script. So if you have no authorizations you get a blank page. Sent from my BlackBerry 10 smartphone From: Phil Daintree Sent: Saturday, October 25, 2014 2:04 AM To: webERP Developers Reply To: webERP Developers Subject: Re: [WebERP-developers] Desactivation of Dashboard Well - maybe a little delicacy with the coding of the permissions could display or not display certain elements - or not display the page at all depending on permissions Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 25/10/14 19:48, Pak Ricard wrote: Hi: It does not work OK, as with this solution you get a unpleasant "The security settings on your account do not permit you to access this function." maybe the most elegant solution should be a config flag, and everybody can set accordingly to their wishes, I guess. Regards, Ricard 2014-10-25 14:19 GMT+08:00 Phil Daintree <ph...@lo...<mailto:ph...@lo...>>: Nope sounds like a plan Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 25/10/14 16:13, Rafael Chacón wrote: If Page security levels are already part of each section, nothing to do. Only deactivate "Dashboard" in this Page security levels should be enough. Am I missing something? --------- 2014-10-24 21:03 GMT-06:00 Andrew Galuski <aga...@re...<mailto:aga...@re...>>: Page security levels are already part of each section. Sent from my BlackBerry 10 smartphone From: Rafael Chacón Sent: Friday, October 24, 2014 9:49 PM To: webERP Developers Reply To: webERP Developers Subject: Re: [WebERP-developers] Desactivation of Dashboard Hi, Dashboard could be a link as a small balanced scorecard in Financial perspective, but I think is interesting have it at the start of the session (a useful summary). In all cases, a possible "to-do" is to have a "Page Security Levels" for its different sections. Regards, Rafael. 2014-10-24 20:37 GMT-06:00 Phil Daintree <ph...@lo...<mailto:ph...@lo...>>: Maybe it should just be a menu link - not sure where - but I don't think on the top menu. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890<tel:%2B64%20%280%29275%20567890> http://www.logicworks.co.nz On 24/10/14 10:36, Arwan wrote: > Hi, > > I would also be interested in replacing the code to activate/deactivate the > dashboard with > code that would display the dashboard only for specific users. > > E.g > > if ($FirstLogin AND !$SupplierLogin AND !$CustomerLogin) * AND > (www_users.userid = 'johndoe')* { > header('Location: ' . $PathPrefix .'Dashboard.php'); > } > > > > Arwan > > Nairobi, Kenya > > > > ----- > WebTech Resources > Nairobi Kenya > +254 724659244<tel:%2B254%20724659244> > Email :in...@we...<mailto:in...@we...> > WEB :weberp.co.ke<http://weberp.co.ke> > > -- > View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Desactivation-of-Dashboard-tp4657740p4657743.html > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Web-erp-developers mailing list > Web...@li...<mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > ------------------------------------------------------------------------------ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers ------------------------------------------------------------------------------ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers ------------------------------------------------------------------------------ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers ------------------------------------------------------------------------------ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers ------------------------------------------------------------------------------ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers |