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 |