@model Project_Unite.Models.AddForumCategoryViewModel @{ ViewBag.Title = "Add forum category"; }

Add forum category

This page allows you to add a new forum category to ShiftOS and define a set of ACL rules for this category.

@if(ViewBag.Error != null) {

@ViewBag.Error

}
@using (Html.BeginForm()) { @Html.AntiForgeryToken() @Html.HiddenFor(Model => Model.PossibleParents)
@Html.DisplayNameFor(Model => Model.Name) @Html.TextBoxFor(Model => Model.Name, new { @class = "form-control" })
@Html.DisplayNameFor(Model => Model.Description) @Html.TextBoxFor(Model => Model.Description, new { @class = "form-control" })
@Html.DisplayNameFor(Model => Model.Parent) @Html.DropDownListFor(Model => Model.Parent, Model.PossibleParents, new { @class = "form-control" })

ACL rule definitions

ACL rules for this forum can be edited in the Access Control section. Additionally, you can select an existing forum to copy ACL data from.

Copy ACL data from: @Html.DropDownListFor(Model=>Model.StealPermissionsFrom, Model.PossibleParents, new { @class = "form-control" })

Leave this value as "Top Level" to not copy permissions. Default permission values are 'Can Post' for all roles.

Adding new roles

When you add a new role to the site, the ACL system will automatically add it to this forum, however its permission data will be set to the default "Can Post" value.


@Html.ActionLink("Cancel", "Forums", "Admin", null, new { @class="btn btn-default"}) }