#71 free form song suggestion permission

This commit is contained in:
Hamid Reza Mohammadi 2021-02-02 19:50:55 +03:30
parent d60760320a
commit 4872946081
2 changed files with 11 additions and 0 deletions

View File

@ -78,6 +78,11 @@ namespace RMuseum.Models.Auth.Memory
/// </summary>
public const string ReviewSongs = "songrevu";
/// <summary>
/// add song from any source
/// </summary>
public const string AddSongs = "songadd";
/// <summary>
/// list of forms and their permissions
/// </summary>
@ -145,6 +150,7 @@ namespace RMuseum.Models.Auth.Memory
Operations = new SecurableItemOperation[]
{
new SecurableItemOperation(ReviewSongs, "بازبینی آهنگ‌های پیشنهادی", false),
new SecurableItemOperation(AddSongs, "افزودن آهنگ از هر منبع", false),
new SecurableItemOperation(ImportOperationShortName, "ورود اطلاعات از منابع خارجی", false),
}
},

View File

@ -1905,6 +1905,11 @@
review suggested songs
</summary>
</member>
<member name="F:RMuseum.Models.Auth.Memory.RMuseumSecurableItem.AddSongs">
<summary>
add song from any source
</summary>
</member>
<member name="P:RMuseum.Models.Auth.Memory.RMuseumSecurableItem.Items">
<summary>
list of forms and their permissions