rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: rejetto on October 05, 2008, 01:52:21 AM

Title: User groups
Post by: rejetto on October 05, 2008, 01:52:21 AM
Groups are coming very soon: in 2.3 beta - build #205 (will be published these days).

In the while i'm documenting the feature at www.rejetto.com/wiki/index.php/User_groups

It's NOT complete, but comments are welcome.
Title: Re: User groups
Post by: r][m on October 05, 2008, 02:38:07 AM
Looks complicated to me. Perhaps it would be easy to make an error
on who has access to what?
Will we be able to turn this off?
Title: Re: User groups
Post by: maverick on October 05, 2008, 06:25:23 AM
Are you talking about Access Levels?  Which users are in these specific levels and what protected resources can be accessed by these users for their specific access level?

Example:

Access Level 1 (Group 1)
protected resources - music, games
users - bob

Access Level 2 (Group 2)
protected resources - music, games, applications
users - mike, bob

Access Level 3 (Group 3)
protected resources - music, games, movies, applications
users - joe, bob, mike

Title: Re: User groups
Post by: TCube on October 05, 2008, 07:27:40 AM
Great function thanks Rejetto.
I'm eager to try that out having set different "workgroup interest" under HFS.
TC
Title: Re: User groups
Post by: Foggy on October 05, 2008, 07:48:43 AM
sort sort of endless loop wouldn't happen if you linked group 1 with group 2 and gorup 2 with group 1?
Title: Re: User groups
Post by: rejetto on October 05, 2008, 11:46:34 AM
Looks complicated to me. Perhaps it would be easy to make an error on who has access to what?
Will we be able to turn this off?

i doubt you will make any error,
anyway there's no need to turn it off: if you don't use the "linked" field, it won't affect your HFS in any way.
Title: Re: User groups
Post by: rejetto on October 05, 2008, 11:47:29 AM
sort sort of endless loop wouldn't happen if you linked group 1 with group 2 and gorup 2 with group 1?

HFS handles this case. you will just get group 1 and 2 permissions.
Title: Re: User groups
Post by: rejetto on October 05, 2008, 12:32:40 PM
Access Level 1 (Group 1)
protected resources - music, games
users - bob

Access Level 2 (Group 2)
protected resources - music, games, applications
users - mike, bob

Access Level 3 (Group 3)
protected resources - music, games, movies, applications
users - joe, bob, mike

How to get this scenario implemented, step-by-step:
0. i guess you already have accounts joe, bob and mike
1. create 3 accounts: level1/2/3
2. protect them by assigning an impossible password
3. in account level2: link level1
4. in account level3: link level2
5. restrict music,games to level1
6. restrict applications to level2
7. restrict movies to level3
8. in account bob: link level1
9. in account mike: link level2
10. in account joe: link level3
Title: Re: User groups
Post by: maverick on October 05, 2008, 01:36:10 PM
YES!

That is EXACTLY what I was hoping for.   

Thanks rejetto.  :)
Title: Re: User groups
Post by: rejetto on October 05, 2008, 04:29:02 PM
I'm creating a "group" checkbox, so that you tell HFS you mean to use that account as a group.
This way
1. you won't need to enter an impossible password, HFS will prevent anyone from loggin in with the group name
2. i can create some GUI facilities for groups only
Title: Re: User groups
Post by: rejetto on October 05, 2008, 05:45:37 PM
the wiki guide has been updated with the change i just explained
Title: Re: User groups
Post by: Foggy on October 06, 2008, 05:54:14 AM
If there is going to be a macro to change the users pass a macro to change which group a user is linked to would also be very useful.
Title: Re: User groups
Post by: rejetto on October 06, 2008, 10:00:16 AM
yes, you can already change pass with macros.
from next build you will be able also to change groups.
i will document it all.
Title: Re: User groups
Post by: Fysack on October 06, 2008, 10:06:51 PM
hmm..
Title: Re: User groups
Post by: rejetto on October 07, 2008, 01:20:37 PM
why?