• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Access control plugin in Git 5572 add page not displayed

Scheduled Pinned Locked Moved Solved
Bug Reports
6
18
4.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    george1421 Moderator
    last edited by george1421 Dec 1, 2015, 7:42 AM Dec 1, 2015, 1:39 PM

    When I select create new access control item the search page is displayed instead of the add form. No error is thrown in the apache error log. The list all access controls does change to no access controls found (accurate since I was trying to add one)

    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Dec 1, 2015, 4:53 PM

      Which URL do you see in the browser?

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      G 1 Reply Last reply Dec 1, 2015, 5:17 PM Reply Quote 0
      • G
        george1421 Moderator @Sebastian Roth
        last edited by Dec 1, 2015, 5:17 PM

        @Sebastian-Roth http://<for_server_dns_name>/fog/management/index.php?node=accesscontrol&sub=add

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Dec 1, 2015, 7:06 PM

          Thats because this plugin has never allowed you to create a new access control.

          The intent of this plugin was a form of access control, and it still kind of is, but it’s run (for right) purely from hooks. I haven’t had the time to think about a structure for this plugin to store all the events and methods required for a true and decent access control setup.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          G 1 Reply Last reply Dec 1, 2015, 7:24 PM Reply Quote 0
          • G
            george1421 Moderator @Tom Elliott
            last edited by Dec 1, 2015, 7:24 PM

            @Tom-Elliott So then do I understand this is not a viable plugin just yet?

            I need to limit certain deployment techs to specific storage locations so that techs from site A can’t deploy images or snapins to site B on accident (or intent).

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Dec 1, 2015, 7:28 PM

              It is a viable plug in it just is not usable via database.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              W G 2 Replies Last reply Dec 1, 2015, 8:16 PM Reply Quote 0
              • W
                Wayne Workman @Tom Elliott
                last edited by Dec 1, 2015, 8:16 PM

                @Tom-Elliott Can you describe how it is normally used? Where is the configuration located?

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • G
                  george1421 Moderator @Tom Elliott
                  last edited by Dec 1, 2015, 8:19 PM

                  @Tom-Elliott said:

                  It is a viable plug in it just is not usable via database.

                  @Wayne-Workman Yeah, this has me a bit confused. I read what Tom said as: its fully functional but you can’t configure it. I checked and I can’t seem to find a wiki on how to set this up.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                  W 1 Reply Last reply Dec 1, 2015, 8:20 PM Reply Quote 0
                  • W
                    Wayne Workman @george1421
                    last edited by Dec 1, 2015, 8:20 PM

                    @george1421 Oh I’m sure it’s configurable (by editing the PHP that it’s made of)…

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Dec 1, 2015, 8:37 PM

                      I didn’t describe configuration because it’s not a simple thing to try to explain using a cell phone. When I get home I’ll try to describe more. You can also call out for @Lee-rowlett to see if he can spur in a few dimes.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      T 1 Reply Last reply Dec 16, 2015, 3:50 PM Reply Quote 3
                      • L
                        Lee Rowlett Developer
                        last edited by Dec 2, 2015, 5:08 AM

                        as tom says it is quite difficult to explain entirely, but if you understand how hooks work, then access control works in the exact same way. take a look at /$webroot/fog/lib/plugins/accesscontrol/hooks

                        Access Control works by “UserType” and at the moment the only way you can set this is via database

                        the idea would be

                        User Type 0 = Admin
                        1 = Creator
                        2 = Editor
                        3 = Engineer/User

                        What you are trying to achieve to stop users imaging from one location when they’re at another, would get complex. unless you have certain engineers who will only ever image from one location then you could go down the route of

                        Type 0 = Image From any location
                        Type 1 = Can only image from location A
                        Type 2 = Can only image from location B

                        Hope this all makes sense

                        G 1 Reply Last reply Dec 2, 2015, 1:50 PM Reply Quote 0
                        • G
                          george1421 Moderator @Lee Rowlett
                          last edited by Dec 2, 2015, 1:50 PM

                          @Lee-Rowlett Thank you for the clarification. This isn’t meant to be negative, but unfortunately this plugin is not at a level we would be able to use it for what we need. I’m trying to avoid diving into the OS to make changes to the system. I may have to take a step back and look at my multi master model to isolate the sites.

                          Again thank you for taking time to clarify this.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                          1 Reply Last reply Reply Quote 0
                          • T
                            Thiago Moraes @Tom Elliott
                            last edited by Dec 16, 2015, 3:50 PM

                            @Tom-Elliott, could you help me to setup the access control?
                            I’m trying do it, but I don’t know exactly what parameters I need send to hooks.

                            1 Reply Last reply Reply Quote 0
                            • L
                              Lee Rowlett Developer
                              last edited by Dec 16, 2015, 8:51 PM

                              @Thiago-Moraes What is it you’re trying to achieve with access control? be aware it’s not implemented to configure from the web gui but it’s functional

                              1 Reply Last reply Reply Quote 0
                              • T
                                Thiago Moraes
                                last edited by Dec 7, 2016, 5:40 PM

                                Dear guys,

                                Any news about this topic? Could we try deploy de access control now?

                                I’d like change the select/sql of mobile page when I search by some host, could you help me find this source code to do it?

                                0_1481132417551_upload-7b1cdcdb-dec3-409f-8265-781e5e23d72a

                                G W 2 Replies Last reply Dec 7, 2016, 6:30 PM Reply Quote 0
                                • G
                                  george1421 Moderator @Thiago Moraes
                                  last edited by Dec 7, 2016, 6:30 PM

                                  @Thiago-Moraes Wow that was about a year ago…

                                  The access control plugin was never really a finished plugin, it was more of a framework where YOU could write some stuff to make it complete. The last I heard the devs were thinking about removing the plugin altogether since it wasn’t functional in its current state.

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                  T 1 Reply Last reply Dec 7, 2016, 9:27 PM Reply Quote 0
                                  • T
                                    Tom Elliott @george1421
                                    last edited by Dec 7, 2016, 9:27 PM

                                    @george1421 said in Access control plugin in Git 5572 add page not displayed:

                                    @Thiago-Moraes Wow that was about a year ago…

                                    The access control plugin was never really a finished plugin, it was more of a framework where YOU could write some stuff to make it complete. The last I heard the devs were thinking about removing the plugin altogether since it wasn’t functional in its current state.

                                    That’s exactly what did happen. It has been removed.

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    1 Reply Last reply Reply Quote 1
                                    • W
                                      Wayne Workman @Thiago Moraes
                                      last edited by Dec 8, 2016, 3:59 AM

                                      @Thiago-Moraes Here’s my advice for you: https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

                                      Joking aside, it looks like you’re on an absolutely ancient version of FOG. I’d recommend you build a new server using the latest FOG 1.3.0 Release Candidate and begin using that.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                      Daily Clean Installation Results:
                                      https://fogtesting.fogproject.us/
                                      FOG Reporting:
                                      https://fog-external-reporting-results.fogproject.us/

                                      1 Reply Last reply Reply Quote 0
                                      • 1 / 1
                                      • First post
                                        Last post

                                      205

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project