Skip to content

Finer permission controls for users to prevent spam #1228

@pgaskin

Description

@pgaskin
Contributor

Permissions to add:

  • Allowed to create issues
    Allowed to create pull requests
    Visible on user list
    Allowed to comment on issues
    Allowed to upload files

@lunny @bkcsoft @strk @tboerger feel free to edit this post.

Activity

pgaskin

pgaskin commented on Mar 12, 2017

@pgaskin
ContributorAuthor

Original post for future reference:

Each user should have permission settings as in:

  • Allowed to create issues
  • Allowed to create pull requests
  • Visible on user list
  • Allowed to comment on issues
  • Allowed to upload files
added this to the 1.x.x milestone on Mar 12, 2017
added
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.
on Mar 12, 2017
strk

strk commented on Mar 12, 2017

@strk
Member

How's "create pull-request" different from "create issues" ?
Should "Visible on user list" be a user choice rather than an admin choice ?

How about allowing creation of forks but not of repositories not being fork of other repositories ? Like with delta not bigger than a give amount of bytes and number of commits ?

pgaskin

pgaskin commented on Mar 12, 2017

@pgaskin
ContributorAuthor

@strk

How's "create pull-request" different from "create issues" ?

There are different tabs for pull requests and issues

Should "Visible on user list" be a user choice rather than an admin choice ?

It should be both because a user may want to be private, and an admin might want to hide a bot or a bad user

How about allowing creation of forks but not of repositories not being fork of other repositories ? Like with delta not bigger than a give amount of bytes and number of commits ?

Yes, that sounds good

strk

strk commented on Mar 12, 2017

@strk
Member
pgaskin

pgaskin commented on Mar 12, 2017

@pgaskin
ContributorAuthor

Ok but why would you want someone to be able to file PRs but not issues ? Or vice-versa. I'm not against it, just could be more than needed :)

For example in a company, if you do not want some employees fixing the code

Now this is where issues become suboptimal. You could either edit the original submission (with the result of the comment becomes weird) or move the plan into a wiki page maybe ? Or, we have a "proposals" repository which was created specifically for this, although it's not clearly documented how proposals should look like. Maybe could be documents like RFCs inside the "proposal" repository.

I will edit my second comment and that is where the final list will go. Feel free to edit it.

strk

strk commented on Mar 12, 2017

@strk
Member
pgaskin

pgaskin commented on Mar 12, 2017

@pgaskin
ContributorAuthor

Should this permission be per-repository then ?

Yes and also a global setting per user

pgaskin

pgaskin commented on Mar 12, 2017

@pgaskin
ContributorAuthor

@strk Should I add allowed to edit wikis?

lunny

lunny commented on Mar 13, 2017

@lunny
Member

I'm working on first step. Different team could display different tabs. See #947

strk

strk commented on Mar 13, 2017

@strk
Member
strk

strk commented on Mar 23, 2017

@strk
Member

See also #1377 for setting limits

stale

stale commented on Feb 16, 2019

@stale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

added
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implemented
and removed on Feb 23, 2019
removed this from the 1.x.x milestone on Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/featureCompletely new functionality. Can only be merged if feature freeze is not active.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lunny@strk@pgaskin

        Issue actions

          Finer permission controls for users to prevent spam · Issue #1228 · go-gitea/gitea