Skip to content

Commit d06ff5f

Browse files
committed
Update IUserService.cs
1 parent d94fe7d commit d06ff5f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/Umbraco.Core/Services/IUserService.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ public interface IUserService : IMembershipUserService
5353
/// <param name="sectionAlias">Alias of the section to remove</param>
5454
void DeleteSectionFromAllUsers(string sectionAlias);
5555

56+
/// <summary>
57+
/// Add a specific section to all users
58+
/// </summary>
59+
/// <remarks>This is useful when a new section is created to allow all users accessing it</remarks>
60+
/// <param name="sectionAlias">Alias of the section to add</param>
61+
void AddSectionToAllUsers(string sectionAlias);
62+
5663
/// <summary>
5764
/// Get permissions set for a user and optional node ids
5865
/// </summary>
@@ -117,4 +124,4 @@ public interface IUserService : IMembershipUserService
117124

118125
#endregion
119126
}
120-
}
127+
}

0 commit comments

Comments
 (0)