1
0
Эх сурвалжийг харах

doc(perms): improve docstrings

Mustafa Arici 8 жил өмнө
parent
commit
0ec54061e3
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      perms.go

+ 2 - 2
perms.go

@@ -31,7 +31,7 @@ const (
 	DissociateNetworkUserPerm
 )
 
-// AdminPerms is a collection of permissions for Admin.
+// AdminPerms returns the list of permissions that admin type user has.
 func AdminPerms() []permset.Perm {
 	return []permset.Perm{
 		CreateUserPerm,
@@ -57,7 +57,7 @@ func AdminPerms() []permset.Perm {
 	}
 }
 
-// UserPerms is a collection of permissions for User.
+// UserPerms returns the collection of permissions that the regular users have.
 func UserPerms() []permset.Perm {
 	return []permset.Perm{
 		GetSelfPerm,