mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* Restricted users (#4334): initial implementation
* Add User.IsRestricted & UI to edit it
* Pass user object instead of user id to places where IsRestricted flag matters
* Restricted users: maintain access rows for all referenced repos (incl public)
* Take logged in user & IsRestricted flag into account in org/repo listings, searches and accesses
* Add basic repo access tests for restricted users
Signed-off-by: Manush Dodunekov <manush@stendahls.se>
* Mention restricted users in the faq
Signed-off-by: Manush Dodunekov <manush@stendahls.se>
* Revert unnecessary change `.isUserPartOfOrg` -> `.IsUserPartOfOrg`
Signed-off-by: Manush Dodunekov <manush@stendahls.se>
* Remove unnecessary `org.IsOrganization()` call
Signed-off-by: Manush Dodunekov <manush@stendahls.se>
* Revert to an `int64` keyed `accessMap`
* Add type `userAccess`
* Add convenience func updateUserAccess()
* Turn accessMap into a `map[int64]userAccess`
Signed-off-by: Manush Dodunekov <manush@stendahls.se>
* or even better: `map[int64]*userAccess`
* updateUserAccess(): use tighter syntax as suggested by lafriks
* even tighter
* Avoid extra loop
* Don't disclose limited orgs to unauthenticated users
* Don't assume block only applies to orgs
* Use an array of `VisibleType` for filtering
* fix yet another thinko
* Ok - no need for u
* Revert "Ok - no need for u"
This reverts commit
|
5 years ago | |
---|---|---|
.. | ||
migrations.go | 5 years ago | |
v13.go | 6 years ago | |
v14.go | 6 years ago | |
v15.go | 6 years ago | |
v16.go | 6 years ago | |
v17.go | 6 years ago | |
v18.go | 6 years ago | |
v19.go | 6 years ago | |
v20.go | 6 years ago | |
v21.go | 6 years ago | |
v22.go | 6 years ago | |
v23.go | 6 years ago | |
v24.go | 6 years ago | |
v25.go | 6 years ago | |
v26.go | 6 years ago | |
v27.go | 6 years ago | |
v28.go | 5 years ago | |
v29.go | 6 years ago | |
v30.go | 6 years ago | |
v31.go | 6 years ago | |
v32.go | 6 years ago | |
v33.go | 6 years ago | |
v34.go | 6 years ago | |
v35.go | 6 years ago | |
v36.go | 6 years ago | |
v37.go | 6 years ago | |
v38.go | 6 years ago | |
v39.go | 5 years ago | |
v40.go | 6 years ago | |
v41.go | 6 years ago | |
v45.go | 6 years ago | |
v46.go | 6 years ago | |
v47.go | 6 years ago | |
v48.go | 6 years ago | |
v49.go | 6 years ago | |
v50.go | 6 years ago | |
v51.go | 6 years ago | |
v52.go | 6 years ago | |
v53.go | 6 years ago | |
v54.go | 6 years ago | |
v55.go | 6 years ago | |
v56.go | 6 years ago | |
v57.go | 6 years ago | |
v58.go | 6 years ago | |
v59.go | 6 years ago | |
v60.go | 6 years ago | |
v61.go | 6 years ago | |
v62.go | 6 years ago | |
v63.go | 6 years ago | |
v64.go | 6 years ago | |
v65.go | 6 years ago | |
v66.go | 6 years ago | |
v67.go | 6 years ago | |
v68.go | 6 years ago | |
v69.go | 6 years ago | |
v70.go | 6 years ago | |
v71.go | 6 years ago | |
v72.go | 6 years ago | |
v73.go | 6 years ago | |
v74.go | 6 years ago | |
v75.go | 6 years ago | |
v76.go | 6 years ago | |
v77.go | 6 years ago | |
v78.go | 6 years ago | |
v79.go | 6 years ago | |
v80.go | 6 years ago | |
v81.go | 6 years ago | |
v82.go | 5 years ago | |
v83.go | 6 years ago | |
v84.go | 6 years ago | |
v85.go | 6 years ago | |
v86.go | 6 years ago | |
v87.go | 6 years ago | |
v88.go | 6 years ago | |
v89.go | 6 years ago | |
v90.go | 6 years ago | |
v91.go | 6 years ago | |
v92.go | 6 years ago | |
v93.go | 6 years ago | |
v94.go | 6 years ago | |
v95.go | 6 years ago | |
v96.go | 6 years ago | |
v97.go | 6 years ago | |
v98.go | 6 years ago | |
v99.go | 6 years ago | |
v100.go | 6 years ago | |
v101.go | 6 years ago | |
v102.go | 6 years ago | |
v103.go | 6 years ago | |
v104.go | 6 years ago | |
v105.go | 5 years ago | |
v106.go | 5 years ago | |
v107.go | 5 years ago | |
v108.go | 5 years ago | |
v109.go | 5 years ago | |
v110.go | 5 years ago | |
v111.go | 5 years ago | |
v112.go | 5 years ago | |
v113.go | 5 years ago | |
v114.go | 5 years ago | |
v115.go | 5 years ago | |
v116.go | 5 years ago | |
v117.go | 5 years ago | |
v118.go | 5 years ago | |
v119.go | 5 years ago | |
v120.go | 5 years ago | |
v121.go | 5 years ago |