MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: tochits on 2017-06-29, 05:34:06

Title: Resource Plan Limit Problem
Post by: tochits on 2017-06-29, 05:34:06
 "Can Add Domains' in resource plan is unchecked/disabled since I am disallowing clients to create additional domains, but this is not what is happening (the "Add Form' view is always available and thus the client can still create domains in the panel).

I think is is bug in the way the Add Form view is displayed.

Code: [Select]
A. Control Panel:               
   - Kloxo-MR: 7.0.0.c-2017062301
   - Web: hiawatha-10.6.0-f.1.mr.el6.x86_64
   - PHP: php56s - 5.6.30-2.ius.centos6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.9 (Final) x86_64
   - Hostname: kloxomr-master1.emc.com.ph
C. Services:
   1. MySQL: MariaDB-server-10.0.31-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.30-2.ius.centos6.x86_64
        - Multiple:
          * php56m - 5.6.30-2.ius.centos6
          * php70m - 7.0.19-1.ius.centos6
      - Used: php56m-fpm
      - Multiple: enable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.6.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.45-1.el6.x86_64
     - Nginx: nginx-1.13.1-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: none
     - Bind: bind-9.9.9-1.mr.el6.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el6.x86_64
     - NSD: nsd-4.1.16-1.el6.x86_64
     - PowerDNS: pdns-4.0.3-1.el6.MIND.x86_64
     - Yadifa: yadifa-2.2.3-1.mr.el6.x86_64
   6. Mail: qmail-toaster-1.03-1.3.56.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.56.mr.el6.x86_64
      - spam: --uninstalled--
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.6-1.mr.noarch
D. Memory:
             total       used       free     shared    buffers     cached
Mem:         15901        964      14937          1          0        222
-/+ buffers/cache:        741      15160
Swap:            0          0          0
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/simfs      845G  597G  249G  71% /


*** Process Time: 00:00:00:16.16700 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)
Title: Re: Resource Plan Limit Problem
Post by: MRatWork on 2017-06-29, 05:47:38
Try 'Number Of Domains' to 0.
Title: Re: Resource Plan Limit Problem
Post by: tochits on 2017-06-29, 06:20:03
I get your suggestion, but a newly created client record using resource plan with '0' Domains limit will be unable to create at least 1 domain.

In my understanding the resource plan dictates the limitations of the clients, both in the 'numbers'/'specs' configurable in their account (ex. # of domains, # of mails, etc) AND the access control/what is allowed in the panel (ex. can add domains, can change limit, etc.).

My problem is that the access control is not being applied to the client (i.e. "Can Add Domains" is not being followed). I have a "frontend" that communicates my kloxo servers where the domain management is being done, so I depend on the access control of kloxo to work as intended. In my specific case, I expect the panel to disallow clients to add domains given their plan settings when they login to the kloxo panel.

Title: Re: Resource Plan Limit Problem
Post by: tochits on 2017-07-03, 04:47:32
So is this problem not going to be acknowledged as a bug?

I apparently already raised this issue 3 YEARS AGO and it wasn't acknowledged then as well, that I even forgot that I already reported this before:

https://forum.mratwork.com/kloxo-mr-bugs-and-requests/client-can-add-domain-with-resource-plan-setting-'can-add-domain'-disabled/msg37860/#msg37860
Title: Re: Resource Plan Limit Problem
Post by: MRatWork on 2017-07-03, 05:20:34
I will investigate this issue bug no promise for fixed immediately.