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
Collaborator

# 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 2 years ago
6543 commented 2 years 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 2 years ago
qwerty287 self-assigned this 2 years ago
mmarif added this to the 4.2.0 milestone 2 years ago
mmarif added
🎯 Enhancement
and removed
💬 Discussion
labels 2 years ago
mmarif closed this issue 1 year ago
mmarif closed this issue 1 year ago
Sign in to join this conversation.
No Milestone
No project
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
Loading…
There is no content yet.