diff --git a/src/Umbraco.Core/Services/IUserService.cs b/src/Umbraco.Core/Services/IUserService.cs index 559bf100d0..2c78bb62cc 100644 --- a/src/Umbraco.Core/Services/IUserService.cs +++ b/src/Umbraco.Core/Services/IUserService.cs @@ -53,6 +53,13 @@ namespace Umbraco.Core.Services /// Alias of the section to remove void DeleteSectionFromAllUsers(string sectionAlias); + /// + /// Add a specific section to all users + /// + /// This is useful when a new section is created to allow all users accessing it + /// Alias of the section to add + void AddSectionToAllUsers(string sectionAlias); + /// /// Get permissions set for a user and optional node ids /// @@ -117,4 +124,4 @@ namespace Umbraco.Core.Services #endregion } -} \ No newline at end of file +}