Refactoring user permissions

This commit is contained in:
xiaomlove
2022-08-20 19:11:28 +08:00
parent 3046837576
commit b79762686a
73 changed files with 945 additions and 326 deletions
+1 -4
View File
@@ -38,10 +38,7 @@ dbconn();
loggedinorreturn();
if (get_user_class() < $torrentstructure_class)
{
permissiondenied();
}
user_can('torrentstructure', true);
$id = (int)$_GET["id"];