0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-04 12:34:48 +01:00
gitea/modules
zeripath a9af93cb21
Nuke the incorrect permission report on /api/v1/notifications (#19761)
The permissions created in convertRepo use a minimal perm.AccessModeRead instead of
correctly computing the permission for the repository. This incorrect permission is
then reported to the user.

I do not believe that reporting the permissions is helpful and therefore I propose
we simply null these out. The user can check their permissions using a different
endpoint.

Fix #19759

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-05-20 18:57:49 +02:00
..
activitypub
analyze
appstate
auth
avatar Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
base
cache
charset
container
context
convert
csv
doctor Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
emoji
eventsource
generate
git
gitgraph
graceful
hcaptcha
highlight
hostmatcher
httpcache
httplib
indexer
json Refactor legacy unknwon/com package, improve golangci lint (#19284) 2022-04-01 16:47:50 +08:00
lfs
log
markup
metrics
migration
nosql Remove legacy unknwon/com package (#19298) 2022-04-02 00:34:57 +08:00
notification
options
packages Add Helm Chart registry (#19406) 2022-04-19 12:55:35 -04:00
paginator
password
pprof
private
process
proxy
public
queue
recaptcha
references
repository
secret
session
setting
ssh
storage
structs
svg
sync
templates
test
timeutil
translation
typesniffer
updatechecker
upload
uri
user
util
validation
web