no view permission in ispconfig 3, php 5.3

Discussion in 'Installation/Configuration' started by Stown, Sep 20, 2009.

  1. Stown

    Stown Member

    Hi,

    Recently when i want to view and edit a ftp user i get:
    Error
    1.error_no_view_permission.

    Is this a bug or.?

    PS: I am logged in as admin so..
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I'am sure that its not a bug as adding FTP users as admin works fine and there are no error reported for this. Maybe you modified anything in the sys user settings for the admin user or you added a admin user manually which does not has correct permission settings.
     
  3. Stown

    Stown Member

    Can you speficy what query turns to zero at the point that i get that error? Or some instruction on how to change the database to a not getting error way
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This is a complex set of several queries, so it is not easily to explain that here especially as all queries are build dynamically. If you user would be an admin, there would be no restrictions, so the admin user must have been modified.

    1) Did you use the admin user that was inserted by the installer?
    2) Did you do any modifications on this admin user?
     
  5. Stown

    Stown Member

    1. Yes
    2. Could be, not sure anymore. I use MySQL verry much myself, i have spitted the ispconfig db out so could be yeah.

    But i get when i login with admin when i want to add a site/user/dns/mail/e.d everything the same error. That must be simply to fix. My admin sys_user is group of sys_group admin group.

    ""error_no_view_permission""

    By the way: this error var is set in my nl.lang file so it should be shown in the dutch isnt it?
    My admin lang is nl and the default ispconfig lang have i set to nl, could this be a bug?
     
    Last edited: Sep 29, 2009
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please ensure that the type of the user is "admin" and not "user".
     
  7. Stown

    Stown Member

    This is the data for admin, there are more data in this tables but thats not important. Yes the type is user. It should work like the structure below? I set my pass to ~~...

    sys_user table
    userid sys_userid sys_groupid sys_perm_user sys_perm_group sys_perm_other username passwort modules startmodule app_theme typ active language groups default_group client_id
    1 1 0 riud riud admin ~~ tools,mail,client,dns,admin,sites,help,monitor monitor default admin 1 nl 1 1 0

    sys_group table
    groupid name description client_id
    1 admin Administrators group 0
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    The type must be "admin" for an admin user and not "user".
     
  9. Stown

    Stown Member

    I am sorry, i sayd it wrong, the type is admin as you can see in my table data from my previous post.

    EDIT: it works now! weard, i didnt do anything. I think it has changed when i did update from svn.
     
    Last edited: Sep 29, 2009
  10. jldbaro

    jldbaro New Member

    I had the same problem. After two hours of searching ... It is because the cache of the browser (firefox for me).
     

Share This Page