summaryrefslogtreecommitdiff
path: root/app/policies/group_policy.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42GitLab Bot2020-12-171-1/+4
|
* Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot2020-11-191-0/+20
|
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-211-1/+36
|
* Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot2020-09-191-0/+2
|
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-201-0/+1
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-08-181-0/+7
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-0/+17
|
* Add latest changes from gitlab-org/security/gitlab@13-1-stable-eeGitLab Bot2020-06-291-2/+2
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-33/+2
|
* Add latest changes from gitlab-org/gitlab@12-10-stable-eeGitLab Bot2020-04-201-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-131-1/+33
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-071-0/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-111-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-111-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-091-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-111-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-071-1/+5
|
* Merge branch 'security-developer-transfer-project' into 'master'GitLab Release Tools Bot2019-10-291-0/+2
|\ | | | | | | | | Require Maintainer permission on group where project is transferred to See merge request gitlab/gitlabhq!3420
| * Require maintainer permission to transfer projectsmanojmj2019-10-091-0/+2
| |
* | Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-141-1/+4
|/
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-011-5/+5
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-131-0/+2
|
* Let project reporters create issue from group boardsFelipe Artur2019-09-041-1/+3
| | | | | The current state of group issue boards does not show the "Add issues" button on the UI for users that are reporters of group child projects.
* Expose namespace storage statistics with GraphQLAlessio Caiazza2019-08-221-0/+2
| | | | | | | | | | | | | | | | | | | Root namespaces have storage statistics. This commit allows namespace owners to get those stats via GraphQL queries like the following one { namespace(fullPath: "a_namespace_path") { rootStorageStatistics { storageSize repositorySize lfsObjectsSize buildArtifactsSize packagesSize wikiSize } } }
* Allow disabling group/project email notificationsBrett Walker2019-08-151-0/+1
| | | | | | - Adds UI to configure in group and project settings - Removes notification configuration for users when disabled at group or project level
* Add group level container repository endpointsSteve Abrams2019-08-051-0/+1
| | | | | | | API endpoints for requesting container repositories and container repositories with their tag information are enabled for users that want to specify the group containing the repository rather than the specific project.
* Remove code related to object hierarchy in MySQLremove-nested-groups-checksHeinrich Lee Yu2019-07-251-4/+2
| | | | | These are not required because MySQL is not supported anymore
* Add policy to allow maintainers to create subgroups when enabledFabio Papa2019-07-191-0/+5
|
* Reset group policy to only allow >= owners to create subgroupsFabio Papa2019-07-191-1/+1
|
* Update the group policy to allow >= maintainer to create subgroupsFabio Papa2019-07-191-1/+1
| | | | All specs passing
* Refactor: model errors for multi cluster validationDylan Griffith2019-07-111-7/+0
| | | | | | | | | | | The current approach requires catching exceptions to handle these errors and callers are already handling model validations so it seems more appropriate. Also it seemed to convoluted to add this logic directly to the model since the model needs to check too many possible associations to determine whether or not there are more than one cluster since the model doesn't know what it's being created on. Additionally we only wanted to validate during create to avoid the risk of existing models becoming invalid by many different edge cases.
* CE changes for SSO web enforcementce-jej/group-saml-sso-enforcementJames Edwards-Jones2019-05-061-1/+5
| | | | | | Adds two methods for us to extend in EE: - OmniauthCallbacksController#link_identity - GroupPolicy#lookup_access_level!
* Add part of needed codeGosia Ksionek2019-04-051-0/+11
| | | | | | | | | | | | | | | | | Add columns to store project creation settings Add project creation level column in groups and default project creation column in application settings Remove obsolete line from schema Update migration with project_creation_level column existence check Rename migrations to avoid conflicts Update migration methods Update migration method
* Update group policy to reflect all the requirementsMałgorzata Ksionek2019-03-131-1/+2
|
* Resolve conflicts in group policyMałgorzata Ksionek2019-03-051-1/+0
|
* Resolve conflicts in app/policies/group_policy.rbStan Hu2019-03-041-3/+0
|
* Merge dev master into GitLab.com masterYorick Peterse2019-03-041-0/+3
|\
| * Secure vulerability and add specsMałgorzata Ksionek2019-02-281-1/+0
| |
* | Enable `:read_list` when `:read_group` is enabledHeinrich Lee Yu2019-02-251-0/+1
|/
* Merge branch '34758-extend-can-create-cluster-logic' into 'master'Kamil Trzciński2018-12-301-1/+9
|\ | | | | | | | | Allow user to add cluster when there are ancestor clusters See merge request gitlab-org/gitlab-ce!23569
| * Allow users to add cluster with ancestorsMayra Cabrera2018-12-241-1/+9
| | | | | | | | | | | | | | | | | | | | | | Include a new policy in Clusterables (projects and groups), which checks if another cluster can be added clusterable_has_cluster? and multiple_clusters_available private methods will be overriden in EE Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/34758
* | Rename GroupHierarchy into ObjectHierarchyJarka Košanová2018-12-191-1/+1
| | | | | | | | | | | | - we now use the hierarchy class also for epics - also rename supports_nested_groups? into supports_nested_objects? - move it to a concern
* | Add a missing policy allowance in GroupPolicyRémy Coutable2018-12-181-0/+1
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add policy for clusters on group levelThong Kuah2018-11-081-0/+4
| | | | | - maintainer for group can read, create, update, and admin cluster - project user, at any level, cannot do anything with group cluster
* Merge branch 'fldubois/gitlab-ce-fix-api-group-createdat' into 'master'Rémy Coutable2018-08-281-0/+2
|\ | | | | | | | | | | | | Allow date parameters on Issues, Notes, and Discussions API for group owners Closes #40059 See merge request gitlab-org/gitlab-ce!21342
| * Use policies to determine if attributes can be set in the APISean McGivern2018-08-221-0/+2
| | | | | | | | This is more idiomatic than checking membership explicitly.
* | Allow to delete group milestonesissue_36138Felipe Artur2018-08-061-1/+1
|/
* Enable frozen string in presenters and policiesrepo-forks/gitlab-ce-frozen-string-enable-app-presentersgfyoung2018-07-241-0/+2
| | | | | | | | | Enable frozen string in: * app/presenters * app/policies Partially addresses #47424.
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-111-2/+2
|
* Create cross project group featuresBob Van Landuyt2018-07-061-0/+13
| | | | | This allows us to check specific abilities in views, while still enabling/disabling them at once.