Don't show repo actions if you don't have the permission to use them
#919
Closed
opened 2 years ago by qwerty287
·
1 comments
No Branch/Tag Specified
ce-and-ui-updates
main
release-5.0
release-4.5
release-4.4
release-4.3
release-4.2
release-4.1
release-4.0
release-3.5
release-3.4
release-3.3
release-3.2
release-3.1
release-3.0
release-2.5
release-2.4
release-2.3
release-2.2
release-2.1
release-2.0
release-1.5
release-1.1
release-1.2
release-1.3
release-1.4
1.1.0
1.2.0
1.3.0
1.4.0
1.5.0
2.0.0
2.1.0
2.1.1
2.1.2
2.1.3
2.2.0
2.2.1
2.2.2
2.3.0
2.3.1
2.3.2
2.4.0
2.4.1
2.5.0
2.5.0-rc4
2.5.1
3.0.0
3.0.0-rc1
3.0.0-rc2
3.0.0-rc3
3.0.1
3.1.0
3.1.0-rc1
3.1.0-rc2
3.1.1
3.1.2
3.2.0
3.2.0-rc1
3.3.0
3.3.0-rc1
3.3.0-rc2
3.3.0-rc3
3.4.0
3.5.0
3.5.1
4.0.0
4.1.0
4.2.0
4.2.1
4.2.2
4.3.0
4.4.0
4.5.0
5.0.0
5.0.1
Labels
Clear labels
This won't get fixed
Related to the CI/CD
Contains or will result in breaking changes
Bugfix ported to a release branch for point release
Related to the user interface or experience
Related to the website
Requires and waits for changes in Gitea's API
Waits for something else that must be solved first
Related to this repository and it's management
Apply labels
⌚ Major-release
⌚ Minor-release
⚔️ Wontfix
This won't get fixed
⚙️ CI
Related to the CI/CD
⛏️ Breaking
Contains or will result in breaking changes
✨ Duplicate
❌ Invalid
❓ Question
❤️ Support
➡️ Frontport
➡️ Needs-frontport
🔙 Backport
Bugfix ported to a release branch for point release
💭 Brainstorming
🐛 Bug
🔭 Cannot-reproduce
🧺 Cleanup
🧾 Confirmed
💬 Discussion
📄 Documentation
🎯 Enhancement
🩹 External-dependecy
📱 F-droid
🎉 Feature
👋 Good-first-issue
🤾 Google-play
🔙 Has-backport
🚀 Improvement
🚨 Investigate
🌠 Long-term
🔙 Needs-backport
🧺 Needs-cleanup
📡 Needs-feedback
📈 Performance
📌 Priority-critical
📌 Priority-high
📍 Priority-low
📍 Priority-medium
🥑 Ready
🪒 Refactor
🔙 Regression
📸 Release
🔒 Security
💡 Suggestion
🧪 Testing
🌐 Translation
💻 UI/UX
Related to the user interface or experience
🪜 Upstream
🟦 Website
Related to the website
🙇♂️ Needs-help
🛰️ API-dependency
Requires and waits for changes in Gitea's API
🛡️ Blocked
Waits for something else that must be solved first
🏗️ Build
🗒️ Changelog
🗄️ Repository
Related to this repository and it's management
🗓️ Summary
No Label
⌚ Major-release
⌚ Minor-release
⚔️ Wontfix
⚙️ CI
⛏️ Breaking
✨ Duplicate
❌ Invalid
❓ Question
❤️ Support
➡️ Frontport
➡️ Needs-frontport
🔙 Backport
💭 Brainstorming
🐛 Bug
🔭 Cannot-reproduce
🧺 Cleanup
🧾 Confirmed
💬 Discussion
📄 Documentation
🎯 Enhancement
🩹 External-dependecy
📱 F-droid
🎉 Feature
👋 Good-first-issue
🤾 Google-play
🔙 Has-backport
🚀 Improvement
🚨 Investigate
🌠 Long-term
🔙 Needs-backport
🧺 Needs-cleanup
📡 Needs-feedback
📈 Performance
📌 Priority-critical
📌 Priority-high
📍 Priority-low
📍 Priority-medium
🥑 Ready
🪒 Refactor
🔙 Regression
📸 Release
🔒 Security
💡 Suggestion
🧪 Testing
🌐 Translation
💻 UI/UX
🪜 Upstream
🟦 Website
🙇♂️ Needs-help
🛰️ API-dependency
🛡️ Blocked
🏗️ Build
🗒️ Changelog
🗄️ Repository
🗓️ Summary
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Set Project
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
No dependencies set.
Reference: gitnex/GitNex#919
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
# What do you want to address?
# Describe your matter briefly
In every repository, there are actions like "Close issue" or "Merge pull request", even if you can't do this, as you don't have the required permissions. That's a bit confusing. Thanks!
What did you expect?
That there are no actions if you aren't allowed to do this
Some additional details
not relevant
We would appreciate some screenshots or stacktrace's, but this is also not required.
not relevant
Thank you for your time.
The repository api shozld return permissions too, we just have to store them & query them when needed ...
Don't show repo actions if you don't have the permission to do thisto Don't show repo actions if you don't have the permission to use them 2 years ago