User groups: Difference between revisions

From rejetto wiki
Jump to navigation Jump to search
(New page: In HFS you won't find groups actually, but account linking. It's an easier and more powerful way, though you may need to spend some minutes to get used to them. Account linking is like: t...)
 
No edit summary
Line 1: Line 1:
In HFS you won't find groups actually, but account linking.
In HFS you won't find groups actually, but account linking.
It's an easier and more powerful way, though you may need to spend some minutes to get used to them.
It's a much more powerful way, but you may need to spend some minutes to get used to them.


Account linking is like: this account has ''also' the permissions of another.
Account linking is like: this account has ''also'' the permissions of another.
e.g. joe has also powers fred have.
e.g. joe has also powers fred have.


== Get groups working ==
== Get groups working ==
You can get same functioning of group with account linking.
You can get same functioning of group with account linking.
The first thing to understand is that '''to create a group you must create an account'''.


Follow these steps
Follow these steps
* You create an account called ''contributor''.
* create an account called ''A''
* You don't want anyone to log in with this account, because in your mind it's a group, not an account.
* mark the ''group'' option
So you set a random and long password. This step is very easy, just hit your keyboard: ''pè0gjspoejmw348u5cvp349''.
* then you go to every account you want to be part of the ''A' group, and fill the ''linked'' field with ''A''.
* Then you go to every account you want to be part of the ''contributor''s group, and fill the ''linked'' field with the group name.
* done!


[[Image:groups1.png]]
[[Image:groups1.png]] [[Image:groups2.png]]
 
Result is: you got the your account into the ''contributor'' group.


== Logic ==
== Logic ==

Revision as of 18:51, 5 October 2008

In HFS you won't find groups actually, but account linking. It's a much more powerful way, but you may need to spend some minutes to get used to them.

Account linking is like: this account has also the permissions of another. e.g. joe has also powers fred have.

Get groups working

You can get same functioning of group with account linking. The first thing to understand is that to create a group you must create an account.

Follow these steps

  • create an account called A
  • mark the group option
  • then you go to every account you want to be part of the A' group, and fill the linked field with A.
  • done!

File:Groups1.png File:Groups2.png

Logic

It's not always obvious how all this will be working. The logic can be different in some case, so lets see in details.

Inheriting is stopped when an account is disabled. E.g. in the chart above, if group3 is disabled, user1 will inherit only from group5, not from group2/1.

File permissions
are inherited

to be continued

Get more

You can put a user in more than one group, just enter contributor;family to get it in the group contributor and group family.

To say it all, you can link accounts/groups in any way, like this chart will show you

File:Groups chart.png

What's the result of this mess?

User1 will have any permission you set to it itself, more, any permission of group5, group3, group2 and group1.

User2 will get its own stuff and will inherit the permissions of group4, group2 and group1.

Just remember that linking is one way. E.g. group3 inherits from group2, but group2 is inheriting nothing.