Debian Codegraph @

LICENSE

raw
1 Copyright (c) 2010-2025 The django-guardian Contributors
2 All rights reserved.
3
4 Redistribution and use in source and binary forms, with or without
5 modification, are permitted provided that the following conditions are met:
6
7 - Redistributions of source code must retain the above copyright notice, this
8 list of conditions and the following disclaimer.
9
10 - Redistributions in binary form must reproduce the above copyright notice,
11 this list of conditions and the following disclaimer in the documentation
12 and/or other materials provided with the distribution.
13
14 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
18 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
21 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
22 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
25 ---
26
27 The SVG icons in guardian/static/guardian/img are from Font Awesome Free 6.7.2
28 and subject to CC-BY-4.0.
29
30 Copyright (c) 2024 Fonticons, Inc. (https://fontawesome.com)
31
32 ```
33 Attribution 4.0 International
34
35 =======================================================================
36
37 Creative Commons Corporation ("Creative Commons") is not a law firm and
38 does not provide legal services or legal advice. Distribution of
39 Creative Commons public licenses does not create a lawyer-client or
40 other relationship. Creative Commons makes its licenses and related
41 information available on an "as-is" basis. Creative Commons gives no
42 warranties regarding its licenses, any material licensed under their
43 terms and conditions, or any related information. Creative Commons
44 disclaims all liability for damages resulting from their use to the
45 fullest extent possible.
46
47 Using Creative Commons Public Licenses
48
49 Creative Commons public licenses provide a standard set of terms and
50 conditions that creators and other rights holders may use to share
51 original works of authorship and other material subject to copyright
52 and certain other rights specified in the public license below. The
53 following considerations are for informational purposes only, are not
54 exhaustive, and do not form part of our licenses.
55
56 Considerations for licensors: Our public licenses are
57 intended for use by those authorized to give the public
58 permission to use material in ways otherwise restricted by
59 copyright and certain other rights. Our licenses are
60 irrevocable. Licensors should read and understand the terms
61 and conditions of the license they choose before applying it.
62 Licensors should also secure all rights necessary before
63 applying our licenses so that the public can reuse the
64 material as expected. Licensors should clearly mark any
65 material not subject to the license. This includes other CC-
66 licensed material, or material used under an exception or
67 limitation to copyright. More considerations for licensors:
68 wiki.creativecommons.org/Considerations_for_licensors
69
70 Considerations for the public: By using one of our public
71 licenses, a licensor grants the public permission to use the
72 licensed material under specified terms and conditions. If
73 the licensor's permission is not necessary for any reason--for
74 example, because of any applicable exception or limitation to
75 copyright--then that use is not regulated by the license. Our
76 licenses grant only permissions under copyright and certain
77 other rights that a licensor has authority to grant. Use of
78 the licensed material may still be restricted for other
79 reasons, including because others have copyright or other
80 rights in the material. A licensor may make special requests,
81 such as asking that all changes be marked or described.
82 Although not required by our licenses, you are encouraged to
83 respect those requests where reasonable. More considerations
84 for the public:
85 wiki.creativecommons.org/Considerations_for_licensees
86
87 =======================================================================
88
89 Creative Commons Attribution 4.0 International Public License
90
91 By exercising the Licensed Rights (defined below), You accept and agree
92 to be bound by the terms and conditions of this Creative Commons
93 Attribution 4.0 International Public License ("Public License"). To the
94 extent this Public License may be interpreted as a contract, You are
95 granted the Licensed Rights in consideration of Your acceptance of
96 these terms and conditions, and the Licensor grants You such rights in
97 consideration of benefits the Licensor receives from making the
98 Licensed Material available under these terms and conditions.
99
100
101 Section 1 -- Definitions.
102
103 a. Adapted Material means material subject to Copyright and Similar
104 Rights that is derived from or based upon the Licensed Material
105 and in which the Licensed Material is translated, altered,
106 arranged, transformed, or otherwise modified in a manner requiring
107 permission under the Copyright and Similar Rights held by the
108 Licensor. For purposes of this Public License, where the Licensed
109 Material is a musical work, performance, or sound recording,
110 Adapted Material is always produced where the Licensed Material is
111 synched in timed relation with a moving image.
112
113 b. Adapter's License means the license You apply to Your Copyright
114 and Similar Rights in Your contributions to Adapted Material in
115 accordance with the terms and conditions of this Public License.
116
117 c. Copyright and Similar Rights means copyright and/or similar rights
118 closely related to copyright including, without limitation,
119 performance, broadcast, sound recording, and Sui Generis Database
120 Rights, without regard to how the rights are labeled or
121 categorized. For purposes of this Public License, the rights
122 specified in Section 2(b)(1)-(2) are not Copyright and Similar
123 Rights.
124
125 d. Effective Technological Measures means those measures that, in the
126 absence of proper authority, may not be circumvented under laws
127 fulfilling obligations under Article 11 of the WIPO Copyright
128 Treaty adopted on December 20, 1996, and/or similar international
129 agreements.
130
131 e. Exceptions and Limitations means fair use, fair dealing, and/or
132 any other exception or limitation to Copyright and Similar Rights
133 that applies to Your use of the Licensed Material.
134
135 f. Licensed Material means the artistic or literary work, database,
136 or other material to which the Licensor applied this Public
137 License.
138
139 g. Licensed Rights means the rights granted to You subject to the
140 terms and conditions of this Public License, which are limited to
141 all Copyright and Similar Rights that apply to Your use of the
142 Licensed Material and that the Licensor has authority to license.
143
144 h. Licensor means the individual(s) or entity(ies) granting rights
145 under this Public License.
146
147 i. Share means to provide material to the public by any means or
148 process that requires permission under the Licensed Rights, such
149 as reproduction, public display, public performance, distribution,
150 dissemination, communication, or importation, and to make material
151 available to the public including in ways that members of the
152 public may access the material from a place and at a time
153 individually chosen by them.
154
155 j. Sui Generis Database Rights means rights other than copyright
156 resulting from Directive 96/9/EC of the European Parliament and of
157 the Council of 11 March 1996 on the legal protection of databases,
158 as amended and/or succeeded, as well as other essentially
159 equivalent rights anywhere in the world.
160
161 k. You means the individual or entity exercising the Licensed Rights
162 under this Public License. Your has a corresponding meaning.
163
164
165 Section 2 -- Scope.
166
167 a. License grant.
168
169 1. Subject to the terms and conditions of this Public License,
170 the Licensor hereby grants You a worldwide, royalty-free,
171 non-sublicensable, non-exclusive, irrevocable license to
172 exercise the Licensed Rights in the Licensed Material to:
173
174 a. reproduce and Share the Licensed Material, in whole or
175 in part; and
176
177 b. produce, reproduce, and Share Adapted Material.
178
179 2. Exceptions and Limitations. For the avoidance of doubt, where
180 Exceptions and Limitations apply to Your use, this Public
181 License does not apply, and You do not need to comply with
182 its terms and conditions.
183
184 3. Term. The term of this Public License is specified in Section
185 6(a).
186
187 4. Media and formats; technical modifications allowed. The
188 Licensor authorizes You to exercise the Licensed Rights in
189 all media and formats whether now known or hereafter created,
190 and to make technical modifications necessary to do so. The
191 Licensor waives and/or agrees not to assert any right or
192 authority to forbid You from making technical modifications
193 necessary to exercise the Licensed Rights, including
194 technical modifications necessary to circumvent Effective
195 Technological Measures. For purposes of this Public License,
196 simply making modifications authorized by this Section 2(a)
197 (4) never produces Adapted Material.
198
199 5. Downstream recipients.
200
201 a. Offer from the Licensor -- Licensed Material. Every
202 recipient of the Licensed Material automatically
203 receives an offer from the Licensor to exercise the
204 Licensed Rights under the terms and conditions of this
205 Public License.
206
207 b. No downstream restrictions. You may not offer or impose
208 any additional or different terms or conditions on, or
209 apply any Effective Technological Measures to, the
210 Licensed Material if doing so restricts exercise of the
211 Licensed Rights by any recipient of the Licensed
212 Material.
213
214 6. No endorsement. Nothing in this Public License constitutes or
215 may be construed as permission to assert or imply that You
216 are, or that Your use of the Licensed Material is, connected
217 with, or sponsored, endorsed, or granted official status by,
218 the Licensor or others designated to receive attribution as
219 provided in Section 3(a)(1)(A)(i).
220
221 b. Other rights.
222
223 1. Moral rights, such as the right of integrity, are not
224 licensed under this Public License, nor are publicity,
225 privacy, and/or other similar personality rights; however, to
226 the extent possible, the Licensor waives and/or agrees not to
227 assert any such rights held by the Licensor to the limited
228 extent necessary to allow You to exercise the Licensed
229 Rights, but not otherwise.
230
231 2. Patent and trademark rights are not licensed under this
232 Public License.
233
234 3. To the extent possible, the Licensor waives any right to
235 collect royalties from You for the exercise of the Licensed
236 Rights, whether directly or through a collecting society
237 under any voluntary or waivable statutory or compulsory
238 licensing scheme. In all other cases the Licensor expressly
239 reserves any right to collect such royalties.
240
241
242 Section 3 -- License Conditions.
243
244 Your exercise of the Licensed Rights is expressly made subject to the
245 following conditions.
246
247 a. Attribution.
248
249 1. If You Share the Licensed Material (including in modified
250 form), You must:
251
252 a. retain the following if it is supplied by the Licensor
253 with the Licensed Material:
254
255 i. identification of the creator(s) of the Licensed
256 Material and any others designated to receive
257 attribution, in any reasonable manner requested by
258 the Licensor (including by pseudonym if
259 designated);
260
261 ii. a copyright notice;
262
263 iii. a notice that refers to this Public License;
264
265 iv. a notice that refers to the disclaimer of
266 warranties;
267
268 v. a URI or hyperlink to the Licensed Material to the
269 extent reasonably practicable;
270
271 b. indicate if You modified the Licensed Material and
272 retain an indication of any previous modifications; and
273
274 c. indicate the Licensed Material is licensed under this
275 Public License, and include the text of, or the URI or
276 hyperlink to, this Public License.
277
278 2. You may satisfy the conditions in Section 3(a)(1) in any
279 reasonable manner based on the medium, means, and context in
280 which You Share the Licensed Material. For example, it may be
281 reasonable to satisfy the conditions by providing a URI or
282 hyperlink to a resource that includes the required
283 information.
284
285 3. If requested by the Licensor, You must remove any of the
286 information required by Section 3(a)(1)(A) to the extent
287 reasonably practicable.
288
289 4. If You Share Adapted Material You produce, the Adapter's
290 License You apply must not prevent recipients of the Adapted
291 Material from complying with this Public License.
292
293
294 Section 4 -- Sui Generis Database Rights.
295
296 Where the Licensed Rights include Sui Generis Database Rights that
297 apply to Your use of the Licensed Material:
298
299 a. for the avoidance of doubt, Section 2(a)(1) grants You the right
300 to extract, reuse, reproduce, and Share all or a substantial
301 portion of the contents of the database;
302
303 b. if You include all or a substantial portion of the database
304 contents in a database in which You have Sui Generis Database
305 Rights, then the database in which You have Sui Generis Database
306 Rights (but not its individual contents) is Adapted Material; and
307
308 c. You must comply with the conditions in Section 3(a) if You Share
309 all or a substantial portion of the contents of the database.
310
311 For the avoidance of doubt, this Section 4 supplements and does not
312 replace Your obligations under this Public License where the Licensed
313 Rights include other Copyright and Similar Rights.
314
315
316 Section 5 -- Disclaimer of Warranties and Limitation of Liability.
317
318 a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
319 EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
320 AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
321 ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
322 IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
323 WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
324 PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
325 ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
326 KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
327 ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
328
329 b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
330 TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
331 NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
332 INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
333 COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
334 USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
335 ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
336 DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
337 IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
338
339 c. The disclaimer of warranties and limitation of liability provided
340 above shall be interpreted in a manner that, to the extent
341 possible, most closely approximates an absolute disclaimer and
342 waiver of all liability.
343
344
345 Section 6 -- Term and Termination.
346
347 a. This Public License applies for the term of the Copyright and
348 Similar Rights licensed here. However, if You fail to comply with
349 this Public License, then Your rights under this Public License
350 terminate automatically.
351
352 b. Where Your right to use the Licensed Material has terminated under
353 Section 6(a), it reinstates:
354
355 1. automatically as of the date the violation is cured, provided
356 it is cured within 30 days of Your discovery of the
357 violation; or
358
359 2. upon express reinstatement by the Licensor.
360
361 For the avoidance of doubt, this Section 6(b) does not affect any
362 right the Licensor may have to seek remedies for Your violations
363 of this Public License.
364
365 c. For the avoidance of doubt, the Licensor may also offer the
366 Licensed Material under separate terms or conditions or stop
367 distributing the Licensed Material at any time; however, doing so
368 will not terminate this Public License.
369
370 d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
371 License.
372
373
374 Section 7 -- Other Terms and Conditions.
375
376 a. The Licensor shall not be bound by any additional or different
377 terms or conditions communicated by You unless expressly agreed.
378
379 b. Any arrangements, understandings, or agreements regarding the
380 Licensed Material not stated herein are separate from and
381 independent of the terms and conditions of this Public License.
382
383
384 Section 8 -- Interpretation.
385
386 a. For the avoidance of doubt, this Public License does not, and
387 shall not be interpreted to, reduce, limit, restrict, or impose
388 conditions on any use of the Licensed Material that could lawfully
389 be made without permission under this Public License.
390
391 b. To the extent possible, if any provision of this Public License is
392 deemed unenforceable, it shall be automatically reformed to the
393 minimum extent necessary to make it enforceable. If the provision
394 cannot be reformed, it shall be severed from this Public License
395 without affecting the enforceability of the remaining terms and
396 conditions.
397
398 c. No term or condition of this Public License will be waived and no
399 failure to comply consented to unless expressly agreed to by the
400 Licensor.
401
402 d. Nothing in this Public License constitutes or may be interpreted
403 as a limitation upon, or waiver of, any privileges and immunities
404 that apply to the Licensor or You, including from the legal
405 processes of any jurisdiction or authority.
406
407
408 =======================================================================
409
410 Creative Commons is not a party to its public
411 licenses. Notwithstanding, Creative Commons may elect to apply one of
412 its public licenses to material it publishes and in those instances
413 will be considered the “Licensor.” The text of the Creative Commons
414 public licenses is dedicated to the public domain under the CC0 Public
415 Domain Dedication. Except for the limited purpose of indicating that
416 material is shared under a Creative Commons public license or as
417 otherwise permitted by the Creative Commons policies published at
418 creativecommons.org/policies, Creative Commons does not authorize the
419 use of the trademark "Creative Commons" or any other trademark or logo
420 of Creative Commons without its prior written consent including,
421 without limitation, in connection with any unauthorized modifications
422 to any of its public licenses or any other arrangements,
423 understandings, or agreements concerning use of licensed material. For
424 the avoidance of doubt, this paragraph does not form part of the
425 public licenses.
426
427 Creative Commons may be contacted at creativecommons.org.
428 ```