If I use a standard jquery ajax call to the URL, will permissions and security be applied?
Or is there a abp / asp.net zero way this should be done?
If a user has permissions while editing one entity, I need to show a list of other other, active entities, if the user has permissions to them.
Thanks in advance for any guidance.
Kind regards,
4 Answer(s)
-
0
How to use abp.services.app.<entity>.getAll() (Core/ Jquery)
https://aspnetboilerplate.com/Pages/Documents/Dynamic-Web-API#dynamic-javascript-proxies
If I use a standard jquery ajax call to the URL, will permissions and security be applied?
Yes. The permission check is on the backend of the api application.
If a user has permissions while editing one entity, I need to show a list of other other, active entities, if the user has permissions to them.
I don't quite understand, can you share the use case?
You can get the entities within the scope of user permissions through api.
-
0
Thank you - Sorry - bit new.
I have a page for users to create custom portlets.
Then, on another page, the users can drag drop their portlets out of their "toolbox", creating a portlet page. (An entity that contains a list of portlets and their arrangement).
Finally, the custom portlet page is rendered to the public facing side. Sort of like how the dashboard behaves, but this is for the user to define what's rendered and how.
Thanks for your help !!
-
0
hi @marble68
I saw that you closed the question, has your problem been solved?
-
0
Yes, thank you.