Verifying abilities for admin panel access instead of relying on user role.
This commit is contained in:
@@ -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] },
|
||||
|
||||
Reference in New Issue
Block a user