Skip to content

Commit dcd1951

Browse files
committed
organization management
1 parent bf7ce71 commit dcd1951

File tree

7 files changed

+47
-25
lines changed

7 files changed

+47
-25
lines changed
373 KB
Loading
435 KB
Loading
772 KB
Loading

book/06-github/sections/1-setting-up-account.asc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ From there, click the "`Add an SSH key`" button, give your key a name, paste the
4545
Be sure to name your SSH key something you can remember. You can name each of your keys (eg, "My Laptop" or "Work Account") so that if you need to revoke a key later, you can easily tell which one you're looking for.
4646
====
4747

48+
[[_personal_avatar]]
4849
==== Your Avatar
4950

5051
Next, if you wish, you can replace the avatar that is generated for you with an image of your choosing. First go to the ``Profile'' tab (above the SSH Keys tab) and click ``Upload new picture''.

book/06-github/sections/3-maintaining.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:compat-mode:
1+
[[_maintaining_gh_project]]
22
=== Maintaining a Project
33

44
Now that we're comfortable contributing to a project, let's look at the other side: creating, maintaining and administering your own project.
Lines changed: 43 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,65 @@
1-
=== Managing an organization
2-
1+
:compat-mode:
32
[[_github_orgs]]
4-
==== Organizations
3+
=== Managing an organization
54

65
(((GitHub, organizations)))
76
In addition to single-user accounts, GitHub has what are called Organizations.
8-
Organizational accounts have a namespace where projects exist, but most other things are different.
9-
These accounts represent a group of people with shared ownership of projects, and they provide tools to manage subgroups of those people.
7+
Like personal accounts, Organizational accounts have a namespace where all their projects exist, but many other things are different.
8+
These accounts represent a group of people with shared ownership of projects, and there are many tools to manage subgroups of those people.
9+
Normally these accounts are used for Open Source groups (such as ``perl'' or ``rails'') or companies (such as ``google'' or ``twitter'').
10+
11+
==== Organization Basics
1012

1113
An organization is pretty easy to create; just click on the ``+'' icon at the top-right of any GitHub page, and select ``New organization'' from the menu.
1214

1315
.The ``New organization'' menu item.
1416
image::images/neworg.png[The ``New organization'' menu item.]
1517

16-
Follow the steps and you'll soon be the owner of a brand-new organization.
17-
As an owner, when you fork a repository, you'll have the choice of forking it to your organization's namespace, and you automatically ``watch'' any new repository created under that organization.
18+
First you'll need to name your organzation and provide an email address for a main point of contact for the group. Then you can invite other users to be co-owners of the account if you want to.
19+
20+
Follow these steps and you'll soon be the owner of a brand-new organization.
21+
Like personal accounts, organizations are free if everything you plan to store there will be open source.
22+
23+
As an owner in an organization, when you fork a repository, you'll have the choice of forking it to your organization's namespace. When you create new repositories you can create them either under your personal account or under any of the organizations that you are an owner in. You also automatically ``watch'' any new repository created under these organizations.
24+
25+
Just like in <<_personal_avatar>>, you can upload an avatar for your organization to personalize it a bit. Also just like personal accounts, you have a landing page for the organization that lists all of your repositories and can be viewed by other people.
1826

19-
===== Teams
27+
Now let's cover some of the things that are a bit different with an organizational account.
2028

21-
Organizations are associated with individual people by way of teams, which are simply a set of individual user accounts.
22-
The power of teams comes with how they tie into other GitHub features.
29+
==== Teams
30+
31+
Organizations are associated with individual people by way of teams, which are simply a grouping of individual user accounts and repositories within the organization and what kind of access those people have in those repositories.
2332

24-
Organizations don't grant access to their repositories to _users_, they grant it to _teams_.
2533
For example, say your company has three repositories: `frontend`, `backend`, and `deployscripts`.
26-
You'd want your HTML/CSS/Javascript developers to have access to `frontend` and maybe `backend`, and your ops people to have access to `backend` and `deployscripts`.
27-
Teams make this easy, without having to tweak the settings for every single user.
34+
You'd want your HTML/CSS/Javascript developers to have access to `frontend` and maybe `backend`, and your Operations people to have access to `backend` and `deployscripts`.
35+
Teams make this easy, without having to manage the collaborators for every individual repository.
36+
37+
The Organization page shows you a simple dashboard of all the repositories, users and teams that are under this organziation.
38+
39+
[[_org_page]]
40+
.The Organization page.
41+
image::images/orgs-01-page.png[]
42+
43+
To manage your Teams, you can click on the Teams sidebar on the right hand side of the page in <<_org_page>>. This will bring you to a page you can use to add members to the team, add repositories to the team or manage the settings and access control levels for the team. Each team can have read only, read/write or administrative access to the repositories. You can change that level by clicking the ``Settings'' button in <<_team_page>>.
2844

29-
But that's not all teams are good for.
30-
Team `@mentions` (such as `@acmecorp/frontend`) work much the same as they do with individual users, except that *all* members of the team are then subscribed to the thread.
45+
[[_team_page]]
46+
.The Team page.
47+
image::images/orgs-02-teams.png[]
48+
49+
When you invite someone to a team, they will get an email letting them know they've been invited and they have to accept the invitation.
50+
51+
Additionally, team `@mentions` (such as `@acmecorp/frontend`) work much the same as they do with individual users, except that *all* members of the team are then subscribed to the thread.
3152
This is useful if you want the attention from someone on a team, but you don't know exactly who to ask.
3253

3354
A user can belong to any number of teams, so don't limit yourself to only access-control teams.
3455
Special-interest teams like `ux`, `css`, or `refactoring` are useful for certain kinds of questions, and others like `legal` and `colorblind` for an entirely different kind.
3556

36-
- team management
37-
- something else
38-
- guest access
39-
- invitations
40-
- how to enable ACL
57+
==== Audit Log
58+
59+
Organizations also give owners access to all the information about what went on under the organization. You can go to the 'Audit Log' tab and see what events have happened at an organization level, who did them and where in the world they were done.
4160

42-
==== Security
61+
[[_audit_log]]
62+
.The Audit log.
63+
image::images/orgs-03-audit.png[]
4364

44-
- two factor authentication
45-
- session management
46-
- audit log
65+
You can also filter down to specific types of events, specific places or specific people.

book/06-github/sections/5-scripting.asc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ Take a look at https://developer.github.com[] for the complete documentation, as
4343
- access tokens
4444
- authorized applications
4545
- developer applications
46+
47+
- two factor authentiation

0 commit comments

Comments
 (0)