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

Create users who can only use the function WOL

Scheduled Pinned Locked Moved
Feature Request
3
31
5.6k
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.
  • L
    Lenain @Fernando Gietz
    last edited by Jan 28, 2019, 1:37 PM

    @Fernando-Gietz

    Unistall the plugin -> Ok

    Verify that the tables roleRuleAssoc, roleUserAssoc, roles and rules are being erased from the database by the uninstall process. -> Ok

    Reinstall the plugin -> Ok

    To test if the plugin works fine, we will not create a new role, we use the roles that the install process create. For example, administrator role. -> Ok

    After install the plugin, go to users page -> List all Users. Does appear a new column named “Role”? -> No, there is no column “Role” only "API, “Username” and “Friendly Name”. In mysql the table “users” have uID, uName, uPass, uCreateDate, uCreateBy, uType, uDisplay, UAllowAPI, uAPIToken.

    Do I have to add uRole in users table?

    1 Reply Last reply Reply Quote 0
    • F
      Fernando Gietz Developer
      last edited by Jan 28, 2019, 2:15 PM

      @Lenain Do you update the version from working branch, no? In the plugin description, does appear “The access control can restrict using different roles and rules. Version 1.5.5”?

      Screenshot_2019-01-28 Plugins instalados.png

      L 1 Reply Last reply Jan 28, 2019, 3:15 PM Reply Quote 0
      • L
        Lenain @Fernando Gietz
        last edited by Jan 28, 2019, 3:15 PM

        Ok @Fernando-Gietz I haven’t update to working yet, it’s done now.

        Everything seams fine except “Select fog user (for example, you can select profs users if you want). Does appear the fog user in the list of members?” The list of members still empty.

        I’ve tried to connect with the limited user but it can access to every menu.

        1 Reply Last reply Reply Quote 0
        • F
          Fernando Gietz Developer
          last edited by Jan 28, 2019, 3:19 PM

          Ok @Lenain , step by step 🙂

          Do you see the new “Role” column in the user page?

          Screenshot_2019-01-28 Todos Usuarios.png

          1 Reply Last reply Reply Quote 0
          • F
            Fernando Gietz Developer
            last edited by Fernando Gietz Jan 28, 2019, 10:14 AM Jan 28, 2019, 3:51 PM

            In the new version appears a new option in the user edit page. From here you can assign a role to the user too.

            Screenshot_2019-01-28 User API Settings.png

            When you assign a role to an user, the rules are applied inmediately. Be sure that the icons of About, Printer and Storage desappear.

            Screenshot_2019-01-28 User API Settings(2).png

            The rules are applied:
            Screenshot_2019-01-28 Dashboard.png

            L 1 Reply Last reply Feb 4, 2019, 10:39 AM Reply Quote 0
            • L
              Lenain @Fernando Gietz
              last edited by Feb 4, 2019, 10:39 AM

              Hello @Fernando-Gietz,
              Ok, when the rules are applied the icons disappear it work!
              it work
              But the “members” section of “roles” stay empty.
              text alternatif
              text alternatif
              Is it possible to hide “Access Controls” to? Is it possible to hide “snapins” or “printers” in group management? In “Basic Tasks” could we only show “Wake-Up”?

              Thanks for your help ^^

              1 Reply Last reply Reply Quote 0
              • F
                Fernando Gietz Developer
                last edited by Feb 4, 2019, 12:13 PM

                @Lenain said in Create users who can only use the function WOL:

                Is it possible to hide “Access Controls” to?

                Yes, you can add a new rule.

                • Access Control -> Add new rule
                Rule Type: MAIN_MENU
                Parent: main
                Node Parent: [empty]
                Value: accesscontrol
                

                Is it possible to hide “snapins” or “printers” in group management? In “Basic Tasks” could we only show “Wake-Up”?

                No, the rules are applied to the icons of the top toolbar (MAIN_MENU rules) and to the items of the Principal Menu section (SUB_MENULINK rules)

                L 1 Reply Last reply Feb 4, 2019, 12:36 PM Reply Quote 0
                • L
                  Lenain @Fernando Gietz
                  last edited by Feb 4, 2019, 12:36 PM

                  @Fernando-Gietz said in Create users who can only use the function WOL:

                  No, the rules are applied to the icons of the top toolbar (MAIN_MENU rules) and to the items of the Principal Menu section (SUB_MENULINK rules)

                  Too bad, in a high school it might be interesting to leave to teachers only access to the WOL. Maybe someday it will be possible 😉

                  Anyway thank you very much for your help and your patience ^_^

                  1 Reply Last reply Reply Quote 0
                  • F
                    Fernando Gietz Developer
                    last edited by Feb 4, 2019, 1:03 PM

                    @Lenain Do you use FOG only to send the WOL?

                    L 1 Reply Last reply Feb 4, 2019, 1:44 PM Reply Quote 0
                    • L
                      Lenain @Fernando Gietz
                      last edited by Feb 4, 2019, 1:44 PM

                      @Fernando-Gietz
                      No, I use many more on fog.
                      We have old computers who need time to be ready, so some teachers asked me if they could have access to WOL. With our ACL only fog server can WOL PC, that’s why I’m looking for a solution.

                      1 Reply Last reply Reply Quote 0
                      • F
                        Fernando Gietz Developer
                        last edited by Feb 6, 2019, 12:34 PM

                        @Lenain I think that your only option is develop a new plugin to do this.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        2 / 2
                        • First post
                          21/31
                          Last post

                        206

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project