summaryrefslogtreecommitdiffstats
path: root/models/perm/access
diff options
context:
space:
mode:
Diffstat (limited to 'models/perm/access')
-rw-r--r--models/perm/access/access.go3
-rw-r--r--models/perm/access/access_test.go3
-rw-r--r--models/perm/access/main_test.go3
-rw-r--r--models/perm/access/repo_permission.go3
4 files changed, 4 insertions, 8 deletions
diff --git a/models/perm/access/access.go b/models/perm/access/access.go
index 7344e114a6..55d3f78e01 100644
--- a/models/perm/access/access.go
+++ b/models/perm/access/access.go
@@ -1,7 +1,6 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package access
diff --git a/models/perm/access/access_test.go b/models/perm/access/access_test.go
index dc707b971b..bd828a1e9d 100644
--- a/models/perm/access/access_test.go
+++ b/models/perm/access/access_test.go
@@ -1,6 +1,5 @@
// Copyright 2017 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package access_test
diff --git a/models/perm/access/main_test.go b/models/perm/access/main_test.go
index eb0abb74d1..837a9db437 100644
--- a/models/perm/access/main_test.go
+++ b/models/perm/access/main_test.go
@@ -1,6 +1,5 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package access_test
diff --git a/models/perm/access/repo_permission.go b/models/perm/access/repo_permission.go
index 3b709a3e85..58c4299d16 100644
--- a/models/perm/access/repo_permission.go
+++ b/models/perm/access/repo_permission.go
@@ -1,6 +1,5 @@
// Copyright 2018 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package access