AI suggestion to remove Saas is perfect and suitable for our project
Hello,
If I want to create an application for B2C and set "options.IsEnabled = false", will it remove UI for SaaS, Tenant & Edition? Also, will it remove from WebApi and DB?
Once I deliver the project to the client, the client will have full access to the DB & Host side, and I don't want them to enable it somehow.
If there is any other recommendation to remove the Saas module, please feel free to share, such as removing Saas module completely?
Thanks, Pooja
Hello,
I am currently evaluating ABP Commercial for a MVP I am building for my client:-
The client has a legacy system in PHP to manage tenancy, where each tenant has Customers and vendors. There are hardcoded filters for the isolation of objects, below is from client PHP application:-
if ($user.role->isCustomer() || $order->user_id === $user->id) {
// Grant access to edit the order
}
if ($user->hasRole('Vendor') && $user->user_id === $user->id) {
// Grant access to the Vendor belong to the vendor
}
I have reviewed ABP resource-based authorisation and wondering how I can apply the above logic with filter operators via UI instead of hardcoding, below does not give the option to use filter operators:-
// Resource-based permissions
context.AddResourcePermission(
name: BookStorePermissions.Books.Resources.View,
resourceName: BookStorePermissions.Books.Resources.Name,
managementPermissionName: BookStorePermissions.Books.ManagePermissions,
displayName: L("Permission:Books:View")
);
I want to build something like this for each object in the application:-
Thanks, Pooja
