• 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
5.0k
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.
  • 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

                      208

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project