]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man7/npm-orgs.7
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / man / man7 / npm-orgs.7
1 .TH "NPM\-ORGS" "7" "October 2016" "" ""
2 .SH "NAME"
3 \fBnpm-orgs\fR \- Working with Teams & Orgs
4 .SH DESCRIPTION
5 .P
6 There are three levels of org users:
7 .RS 0
8 .IP 1. 3
9 Super admin, controls billing & adding people to the org\.
10 .IP 2. 3
11 Team admin, manages team membership & package access\.
12 .IP 3. 3
13 Developer, works on packages they are given access to\.
14
15 .RE
16 .P
17 The super admin is the only person who can add users to the org because it impacts the monthly bill\. The super admin will use the website to manage membership\. Every org has a \fBdevelopers\fP team that all users are automatically added to\.
18 .P
19 The team admin is the person who manages team creation, team membership, and package access for teams\. The team admin grants package access to teams, not individuals\.
20 .P
21 The developer will be able to access packages based on the teams they are on\. Access is either read\-write or read\-only\.
22 .P
23 There are two main commands:
24 .RS 0
25 .IP 1. 3
26 \fBnpm team\fP see npm help team for more details
27 .IP 2. 3
28 \fBnpm access\fP see npm help access for more details
29
30 .RE
31 .SH Team Admins create teams
32 .RS 0
33 .IP \(bu 2
34 Check who you’ve added to your org:
35
36 .RE
37 .P
38 .RS 2
39 .nf
40 npm team ls <org>:developers
41 .fi
42 .RE
43 .RS 0
44 .IP \(bu 2
45 Each org is automatically given a \fBdevelopers\fP team, so you can see the whole list of team members in your org\. This team automatically gets read\-write access to all packages, but you can change that with the \fBaccess\fP command\.
46 .IP \(bu 2
47 Create a new team:
48
49 .RE
50 .P
51 .RS 2
52 .nf
53 npm team create <org:team>
54 .fi
55 .RE
56 .RS 0
57 .IP \(bu 2
58 Add members to that team:
59
60 .RE
61 .P
62 .RS 2
63 .nf
64 npm team add <org:team> <user>
65 .fi
66 .RE
67 .SH Publish a package and adjust package access
68 .RS 0
69 .IP \(bu 2
70 In package directory, run
71
72 .RE
73 .P
74 .RS 2
75 .nf
76 npm init \-\-scope=<org>
77 .fi
78 .RE
79 .P
80 to scope it for your org & publish as usual
81 .RS 0
82 .IP \(bu 2
83 Grant access:
84
85 .RE
86 .P
87 .RS 2
88 .nf
89 npm access grant <read\-only|read\-write> <org:team> [<package>]
90 .fi
91 .RE
92 .RS 0
93 .IP \(bu 2
94 Revoke access:
95
96 .RE
97 .P
98 .RS 2
99 .nf
100 npm access revoke <org:team> [<package>]
101 .fi
102 .RE
103 .SH Monitor your package access
104 .RS 0
105 .IP \(bu 2
106 See what org packages a team member can access:
107
108 .RE
109 .P
110 .RS 2
111 .nf
112 npm access ls\-packages <org> <user>
113 .fi
114 .RE
115 .RS 0
116 .IP \(bu 2
117 See packages available to a specific team:
118
119 .RE
120 .P
121 .RS 2
122 .nf
123 npm access ls\-packages <org:team>
124 .fi
125 .RE
126 .RS 0
127 .IP \(bu 2
128 Check which teams are collaborating on a package:
129
130 .RE
131 .P
132 .RS 2
133 .nf
134 npm access ls\-collaborators <pkg>
135 .fi
136 .RE
137 .SH SEE ALSO
138 .RS 0
139 .IP \(bu 2
140 npm help team
141 .IP \(bu 2
142 npm help access
143 .IP \(bu 2
144 npm help 7 scope
145
146 .RE