Don't show repo actions if you don't have the permission to use them #919

Open
opened 5 months ago by qwerty287 · 1 comments

# What do you want to address?

  • Bug
  • Feature
  • Suggestion

# 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

  • The version of Gitea you are using:
  • The version of GitNex you are using:
  • Source of installation (Play Store, F-Droid, APK):
  • Current android version and phone model/manufacturer:
  • The type of certificate your instance is using (self-signed, signed):
  • How you used to log in (via password or token):

We would appreciate some screenshots or stacktrace's, but this is also not required.

not relevant


Thank you for your time.

## # What do you want to address? <!-- This step is required; examples are shown below --> - [X] Bug - [ ] Feature - [ ] Suggestion ## # Describe your matter briefly <!-- This step is required. --> 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! <br><br> ##### What did you expect? <!-- Useful when addressing bugs --> --- <!-- This step is optional. --> That there are no actions if you aren't allowed to do this <br><br> ##### Some additional details <!-- Useful, when we are trying to reproduce a bug --> --- <!-- This step is optional; an example is shown below --> not relevant * The version of **Gitea** you are using: * The version of **GitNex** you are using: * Source of installation (Play Store, F-Droid, APK): * Current android version and phone model/manufacturer: * The type of certificate your instance is using (self-signed, signed): * How you used to log in (via password or token): <br> ##### We would appreciate some screenshots or stacktrace's, but this is also not required. --- <!-- Screenshots and stacktrace's can go here. --> not relevant <br><br> - [X] I carefully read the [contribution guidelines](https://codeberg.org/GitNex/GitNex/src/branch/main/CONTRIBUTING.md). <br> #### Thank you for your time.
mmarif added the
Discussion
label 5 months ago
Collaborator

The repository api shozld return permissions too, we just have to store them & query them when needed ...

The repository api shozld return permissions too, we just have to store them & query them when needed ...
qwerty287 changed title from Don't show repo actions if you don't have the permission to do this to Don't show repo actions if you don't have the permission to use them 4 months ago
qwerty287 self-assigned this 4 weeks ago
mmarif added this to the 4.2.0 milestone 6 days ago
mmarif added
Enhancement
and removed
Discussion
labels 6 days ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.