Re: [PacketFence-users] user access to nodes in the admin -> nodes web page

2018-12-11 Thread Ian Alder via PacketFence-users
Hi Nicolas

Thanks for the reply.

I did see the tenant ID is set to 1 automatically for users, and I cannot 
remove or change the tenant id. 

I have upgraded to version 8.2 and applied the patches. 

The issue is still there.



Regards

Ian Alder



>-Original Message-
>From: Nicolas Quiniou-Briand via PacketFence-users [mailto:packetfence-
>us...@lists.sourceforge.net]
>Sent: 07 December 2018 10:53 AM
>To: Ian Alder ; packetfence-
>us...@lists.sourceforge.net
>Cc: Nicolas Quiniou-Briand 
>Subject: Re: [PacketFence-users] user access to nodes in the admin -> nodes
>web page
>
>Hello Ian,
>
>I try to reproduce your issue but I found this bug:
>https://github.com/inverse-inc/packetfence/issues/3681
>
>If I follow the steps you mentioned, I got:
>- partner1 user with tenant_id 1
>- partner2 user with tenant_id 1
>- nodes owned by partner1 user with tenant_id 1
>- nodes owned by partner2 user with tenant_id 1
>
>I ask my colleagues for help.
>--
>Nicolas Quiniou-Briand
>n...@inverse.ca  ::  +1.514.447.4918 *140  ::  https://inverse.ca
>Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence
>(https://packetfence.org) and Fingerbank (http://fingerbank.org)
>
>
>___
>PacketFence-users mailing list
>PacketFence-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/packetfence-users


___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] user access to nodes in the admin -> nodes web page

2018-12-11 Thread Nicolas Quiniou-Briand via PacketFence-users

Hello Ian,

On 2018-12-11 12:16 p.m., Ian Alder wrote:

The issue is still there.


Yes, keep an eye on this GitHub issue [0].
You can also post a comment to make things progress.

[0] https://github.com/inverse-inc/packetfence/issues/3681

--
Nicolas Quiniou-Briand
n...@inverse.ca  ::  +1.514.447.4918 *140  ::  https://inverse.ca
Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence 
(https://packetfence.org) and Fingerbank (http://fingerbank.org)



___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] user access to nodes in the admin -> nodes web page

2018-12-07 Thread Nicolas Quiniou-Briand via PacketFence-users

Hello Ian,

I try to reproduce your issue but I found this bug: 
https://github.com/inverse-inc/packetfence/issues/3681


If I follow the steps you mentioned, I got:
- partner1 user with tenant_id 1
- partner2 user with tenant_id 1
- nodes owned by partner1 user with tenant_id 1
- nodes owned by partner2 user with tenant_id 1

I ask my colleagues for help.
--
Nicolas Quiniou-Briand
n...@inverse.ca  ::  +1.514.447.4918 *140  ::  https://inverse.ca
Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence 
(https://packetfence.org) and Fingerbank (http://fingerbank.org)



___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] user access to nodes in the admin -> nodes web page

2018-12-06 Thread Ian Alder via PacketFence-users
Hi Nicolas

I don't know where the description line came from, but I have changed the 
description for partner 2.

No change in behaviour.

Do I need to restart any part of packetfence to activate the change?

Thanks

Ian


>-Original Message-
>From: Nicolas Quiniou-Briand via PacketFence-users [mailto:packetfence-
>us...@lists.sourceforge.net]
>Sent: 06 December 2018 3:04 PM
>To: Ian Alder ; packetfence-
>us...@lists.sourceforge.net
>Cc: Nicolas Quiniou-Briand 
>Subject: Re: [PacketFence-users] user access to nodes in the admin -> nodes
>web page
>
>On 2018-12-06 3:46 p.m., Ian Alder wrote:
>> [partner1 admin role]
>> [..]
>> description=partner1 admin role
>
>> [partner2 admin role]
>> [..] > description=partner1 admin role
>
>Not sure it's your issue but the description are the same.
>--
>Nicolas Quiniou-Briand
>n...@inverse.ca  ::  +1.514.447.4918 *140  ::  https://inverse.ca
>Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence
>(https://packetfence.org) and Fingerbank (http://fingerbank.org)
>
>
>___
>PacketFence-users mailing list
>PacketFence-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/packetfence-users


___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] user access to nodes in the admin -> nodes web page

2018-12-06 Thread Nicolas Quiniou-Briand via PacketFence-users

On 2018-12-06 3:46 p.m., Ian Alder wrote:

[partner1 admin role]
[..]
description=partner1 admin role



[partner2 admin role]
[..] > description=partner1 admin role


Not sure it's your issue but the description are the same.
--
Nicolas Quiniou-Briand
n...@inverse.ca  ::  +1.514.447.4918 *140  ::  https://inverse.ca
Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence 
(https://packetfence.org) and Fingerbank (http://fingerbank.org)



___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] user access to nodes in the admin -> nodes web page

2018-12-06 Thread Ian Alder via PacketFence-users



Hi Nicolas

The file is:-



 [Node Manager]
actions=NODES_READ,NODES_CREATE,NODES_UPDATE,NODES_DELETE
description=Nodes management

[User Manager]
actions=USERS_CREATE,USERS_DELETE,USERS_READ,USERS_UPDATE,USERS_SET_ROLE,USERS_SET_ACCESS_DURATION,USERS_SET_UNREG_DATE,USERS_SET_TIME_BALANCE,USERS_SET_BANDWIDTH_BALANCE,USERS_SET_ACCE
SS_LEVEL,USERS_MARK_AS_SPONSOR,USERS_CREATE_MULTIPLE
description=Users management

[Violation Manager]
description=Violations managements
actions=VIOLATIONS_READ,VIOLATIONS_CREATE,VIOLATIONS_UPDATE,VIOLATIONS_DELETE,USERS_READ,NODES_READ

[partner1 admin role]
actions=NODES_CREATE,NODES_DELETE,NODES_READ,NODES_UPDATE
allowed_roles=partner1
allowed_node_roles=partner1
description=partner1 admin role
allowed_access_levels=Node Manager
allowed_actions=

[partner2 admin role]
actions=NODES_CREATE,NODES_DELETE,NODES_READ,NODES_UPDATE
allowed_roles=partner2
allowed_node_roles=partner2
description=partner1 admin role
allowed_access_levels=Node Manager
allowed_actions=


thanks

ian



>-Original Message-
>From: Nicolas Quiniou-Briand [mailto:n...@inverse.ca]
>Sent: 06 December 2018 1:49 PM
>To: Ian Alder ; packetfence-
>us...@lists.sourceforge.net
>Subject: Re: [PacketFence-users] user access to nodes in the admin -> nodes
>web page
>
>Ian,
>
>Please give me the content of /usr/local/pf/conf/adminroles.conf for:
>-partner1 admin role
>-partner2 admin role
>--
>Nicolas Quiniou-Briand
>n...@inverse.ca  ::  +1.514.447.4918 *140  ::  https://inverse.ca
>Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence
>(https://packetfence.org) and Fingerbank (http://fingerbank.org)

___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] user access to nodes in the admin -> nodes web page

2018-12-06 Thread Nicolas Quiniou-Briand via PacketFence-users

Ian,

Please give me the content of /usr/local/pf/conf/adminroles.conf for:
-partner1 admin role
-partner2 admin role
--
Nicolas Quiniou-Briand
n...@inverse.ca  ::  +1.514.447.4918 *140  ::  https://inverse.ca
Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence 
(https://packetfence.org) and Fingerbank (http://fingerbank.org)



___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] user access to nodes in the admin -> nodes web page

2018-12-06 Thread Ian Alder via PacketFence-users
Hello Nicolas 

Many thanks for the reply.

The actions for partner1 are:

Role=partner1
Access-level=partner1 admin role
Access-duration=5 days
Set tenant id = 1


The actions for partner2 are:

Role=partner2
Access-level=partner2 admin role
Access-duration=5 days
Set tenant id = 2


Also, I have tried deleting the set tenant id action.
When I do this , click save, then go back into the actions for the user, the 
tenant line is still there.


Thanks

Ian Alder
Newcastle University


>-Original Message-
>From: Nicolas Quiniou-Briand via PacketFence-users [mailto:packetfence-
>us...@lists.sourceforge.net]
>Sent: 06 December 2018 9:05 AM
>To: Ian Alder via PacketFence-users us...@lists.sourceforge.net>
>Cc: Nicolas Quiniou-Briand 
>Subject: Re: [PacketFence-users] user access to nodes in the admin -> nodes
>web page
>
>Hello Ian,
>
>Thanks for the report.
>
>I will try to reproduce this issue on 8.2.1.
>
>Which are the access level for your users partner1 and partner2 ? You
>can see this information in the "Actions" tab for each user.
>
>
>--
>Nicolas Quiniou-Briand
>n...@inverse.ca  ::  +1.514.447.4918 *140  ::  https://inverse.ca
>Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence
>(https://packetfence.org) and Fingerbank (http://fingerbank.org)
>
>
>___
>PacketFence-users mailing list
>PacketFence-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/packetfence-users


___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] user access to nodes in the admin -> nodes web page

2018-12-06 Thread Nicolas Quiniou-Briand via PacketFence-users

Hello Ian,

Thanks for the report.

I will try to reproduce this issue on 8.2.1.

Which are the access level for your users partner1 and partner2 ? You 
can see this information in the "Actions" tab for each user.



--
Nicolas Quiniou-Briand
n...@inverse.ca  ::  +1.514.447.4918 *140  ::  https://inverse.ca
Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence 
(https://packetfence.org) and Fingerbank (http://fingerbank.org)



___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users