Verifying abilities for admin panel access instead of relying on user role.

This commit is contained in:
2026-06-17 00:23:03 +02:00
parent d7964f6fc2
commit d1e8ff48c5
4 changed files with 13 additions and 4 deletions

View File

@@ -447,8 +447,6 @@ async function queryManticoreSql(filters, options, _reqUser) {
builder.where('has_avatar', 1);
}
console.log('ACTOR OPTIONS', options);
if (options.order?.[0] === 'name') {
builder.orderBy([
{ column: 'actors.slug', order: options.order[1] },