diff --git a/apps/api/src/app/access/access.controller.ts b/apps/api/src/app/access/access.controller.ts
index 177191a6e..cb1e2d4af 100644
--- a/apps/api/src/app/access/access.controller.ts
+++ b/apps/api/src/app/access/access.controller.ts
@@ -41,10 +41,7 @@ export class AccessController {
include: {
granteeUser: true
},
- orderBy: [
- { granteeUserId: 'desc' }, // NULL values first (public access), then user IDs
- { createdAt: 'asc' } // Within each group, order by creation time
- ],
+ orderBy: [{ granteeUserId: 'desc' }, { createdAt: 'asc' }],
where: { userId: this.request.user.id }
});
diff --git a/apps/client/src/app/components/access-table/access-table.component.html b/apps/client/src/app/components/access-table/access-table.component.html
index b7001782a..e61ee0c9e 100644
--- a/apps/client/src/app/components/access-table/access-table.component.html
+++ b/apps/client/src/app/components/access-table/access-table.component.html
@@ -72,7 +72,6 @@
Edit
-
}
@if (element.type === 'PUBLIC') {
}
+ @if (
+ user?.settings?.isExperimentalFeatures || element.type === 'PUBLIC'
+ ) {
+
+ }