Ad Widget

Collapse

Guest user access rights problem (1.4.2).

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alj
    Senior Member
    • Aug 2006
    • 188

    #1

    Guest user access rights problem (1.4.2).

    I cant get guest user to see screens.
    Guest user has read-only access to all hosts but can see no screens.
    If i give user guest admin rights it can see screens but it can also edit screens as well which is too much rights for guest user.

    Please help!
  • alj
    Senior Member
    • Aug 2006
    • 188

    #2
    same goes for graphs, maps triggers, actions etc etc - almost all monitoring pages..

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      Originally posted by alj
      Guest user has read-only access to all hosts but ...
      How do you know this?
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • alj
        Senior Member
        • Aug 2006
        • 188

        #4
        Originally posted by Alexei
        How do you know this?
        By going to guest user options and clicking on "Show".

        I added guest user to guest group, and added all hosts groups to readonly access for that group.

        Yet still guest user cannot see graphs and screens.

        Comment

        • patrick
          Member
          • Oct 2004
          • 57

          #5
          same problem

          Hi,
          I've the same problem. I've posted this in the zabbix help forum on 07-09-2007

          I am loging as "guest" user (zabbix release 1.4.2). He has read permissions for some host groups. But I always get "no maps defined" or "no screen defined" for him.
          So I tried to set read permissions for all host groups for him. Now I can see some (not all) screens but "no maps defined"
          What could I have forgotten?
          Thanks

          Comment

          • patrick
            Member
            • Oct 2004
            • 57

            #6
            1.4.2 rights problem?

            It's strange. If I create new hosts in a new hostgroup and a new map it's OK for that map. The user guest can see it (but he can't see no others).
            Patrick

            Comment

            • Lovespider
              Member
              • Sep 2004
              • 99

              #7
              Same problem for me too.
              I and some other posted this problem long ago but still no solution for this.
              I'll try to find the differences between imported maps/screens and the newly created to see if we could change something manually in the table...
              I'll post here....

              Comment

              • Lovespider
                Member
                • Sep 2004
                • 99

                #8
                Surfing into tables, I suspect that the table 'rights' is the one involved in this.
                From data.sql I can see that is populated with:

                INSERT INTO rights VALUES (1,1,0,0,0);
                INSERT INTO rights VALUES (2,1,0,0,0);
                INSERT INTO rights VALUES (3,2,0,0,0);

                where columns are: rightid groupid type permission id

                I did not find any link to users id or type or group.
                Does anybody can tell us the meaning of those numbers?

                Comment

                • Lovespider
                  Member
                  • Sep 2004
                  • 99

                  #9
                  More infos: I deleted the table 'rights' and everything works as before: Admin has full access and see anything (old & new) and Guest has no access in readonly...I'm lost...

                  Comment

                  • alj
                    Senior Member
                    • Aug 2006
                    • 188

                    #10
                    I havce suspitions that something is wrong in database upgrade sql script. Because all my new hosts/graphs work fine, the problem seems like happening with graphs/hosts that were migrated from 1.1.7

                    Comment

                    • SATux
                      Junior Member
                      • Dec 2006
                      • 10

                      #11
                      I have the same problem.

                      After upgrading from 1.1.7 to 1.4.4, allworked fine for about 2 months and yesterday the guest account as well as all normal users got "No Permissions" on various screens.

                      Has anyone found a solution to this yet?

                      Thanks

                      Comment

                      • xs-
                        Senior Member
                        Zabbix Certified Specialist
                        • Dec 2007
                        • 393

                        #12
                        Try this


                        Its not a solution, its just a quick hack/fix

                        Comment

                        Working...