Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. one user with two permissions and two groups

one user with two permissions and two groups

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 56 Views
  • 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.
  • M
    M
    mvzeppelin
    wrote on last edited by
    #1

    Hi,

    Is there anyway to configure different permissions for different groups?

    I want to create an user that can spy the group "agentes" and can pickup the group "suporte", but it can't spy the group "suporte".

    something like this:
    user=1019🔢spy:agentes
    user=1019🔢pickup:suporte

    Any suggestion about how can I get this?

    thanks a lot!

    --
    Marcus

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Yes, you can do that using the latest version.

      In fop2admin for freepbx you can create custom permissions..

      1st create your groups in fop2 groups
      then create a fop2 permission named "pickupsuporte"
      in that permission add the "pickup" permission and check the "supporte" group
      in fop2 users, assign that custom permission to the users you want

      Do the same with the custom spy permission.

      Best regards,

      1 Reply Last reply
      0
      • M
        M
        mvzeppelin
        wrote on last edited by
        #3

        Hi,
        thanks for the info.

        I upgraded to 2.22.

        I don't use freepbx at all. I configure permissions manually.

        Can you show me an example for this configuration?

        I didn't find it in new fop2.cfg file.

        thanks a lot!

        --
        Marcus

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

          This example is to create a custom permission "pickupsuporte" that allows pikcup only to sip/605,sip/608 and sip/607, Inside fop2.cfg:

          perm=pickupsuporte:pickup:SIP/605,SIP/608,SIP/602,SIP/607
          

          Then assign that custom permission to a user, together with some regular permissions, again in fop2.cfg:

          user=600:1234:pickupsuporte,hangupself,recordself
          
          1 Reply Last reply
          0
          • M
            M
            mvzeppelin
            wrote on last edited by
            #5

            Hi,

            I've configured the "perm" statement in my config and work very well.

            thanks for your help.

            --
            Marcus

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups