Commit Graph

5 Commits

Author SHA1 Message Date
manojmj 39c99361b6 Require maintainer permission to transfer projects 2019-10-09 13:03:32 +05:30
Alessio Caiazza 606a1d2d31 Expose namespace storage statistics with GraphQL
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
    }
  }
}
2019-08-22 22:08:28 +00:00
Rémy Coutable 9aca2ccfd2
[CE] Reduce the diff with EE in spec/policies/namespace_policy_spec.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-27 15:41:45 +01:00
Tomasz Maczukin f144cce8ef
Update policies unit tests
This commit also makes spec/policies/namespace_policy_spec.rb file
to be compatible with the same file in GitLab EE.
2017-11-27 23:06:43 +01:00
Phil Hughes 93aa6d04c2
moved fork checks into policies 2017-09-29 12:14:39 +01:00