Base solution for your next web application

Activities of "blewis"

Question

I think I know the answer to this is "No", but I wanted to ask just to see if anyone had a thought about it. We have a need to associate roles with specific Organization Units (OU) and allow users to have different roles with different units.

Our company is in education, and typically we have users who are administrators, aides or teachers. However, we often have users who have multiple jobs and so they may act as a teacher within the context of a specific school, but may have an administrative role in the context of their district. Setting up a hierarchy of districts and schools within the OU data structure is easy. But how hard is it to say that User A has role Adminfor OU District 1, but role Teacher for OU School 2? As I understand it, this is not possible. The user is simply a member of each OU and has both roles in all contexts. Any ideas?

Thanks, Bryan

I am playing around with version 5.3 CORE MVC + jQuery and I have a question concerning customizing a table that is using DataTable. I discovered that ABP has a set of customizations for DataTable located in the datatables.default.js and datatables.ajax.js files. I can follow most of the logic in these files, but I cannot figure out how to override the defaults in the datatable.defaults.js file on a page by page basis. For example, I want to change the default page length from 10 row to 25, but only for certain pages. I see the default of 10 in the defaults.js, but in my page specific js, when I call DataTable, it ignores any attempt to override the default of 10. For example, if I try something like:

var dataTable = _$myPageTable.DataTable({
            paging: true,
            pageLength: 25,
            serverSide: true,
            processing: true,
            listAction: {
                ajaxFunction: _auditLogService.getAuditLogs,
                inputFilter: function () {
                    return createRequestParams();
                }
            }...

I have tried various combinations of possible settings, but I cannot figure this out. What am I missing? I want o do similar overrides for other features, like changing the "entries" in "Showing X to Y entries" to something that's more page specific.

Thanks, Bryan

OK, I misunderstood. I thought this setting would change the entire top bar space from white to dark. I didn't realize it was associated with a menu that you didn't implement.

Bryan

I want to second this question and piggy back on it. When will proper, configurable session timeouts be added? It's been on the roadmap page of a long time and seems like a pretty important function. I don't really care much about a lock screen...but timeouts are important.

Bryan

@ismcagdas,

Is OpenId Connect support for Angular on the roadmap yet now that 5.4 is out? I don't see any issues on GitHub for it.

Thanks, Bryan

Answer

Built in AI support would be awesome. Just voting for this integration!

Showing 31 to 36 of 36 entries