Skip to content

Study Journal 04-10-2023

Published: at 12:00 AM

What I learnt

Things I’ve learnt:

FOR MYSELF - I don’t know how to priortise great

Yeah I already know. ADHD blah blah. I’m trying though! I’m trying to get this app done!

I also don’t remember great. Heh. Kill me sometimes.

NEW EVOLUTION: Debug console

What is really needed is a debug console. That way we can easily call functions / methods directly and as authenticated by a particular user.

This allows us to test much more easily specific things - including checking to see what users can and cannot see.

This should mean that we have an option to log in as a user to the home page or to just a specific module.

Also do function calls are important to getting responses from the database and correctly verifiying that all of these things are working in order.

NEW DEVELOPMENT ASPECT: Control repositories, matricies, and children…?

Ok so basically I’ve been killing myself trying to figure out how we can simplify the permissions and CRUD into a more cohesive solution. I think I’ve got it:

Control-Based Permission System

Objective:

To create a flexible and scalable permission system that combines CRUD operations and high-level module-specific permissions into a unified concept of ‘controls’. This system aims to simplify the coordination of database security rules, CRUD operations, and module-specific permissions.

Components:

ControlRepository:

ControlMatrix:

Modules:

Workflow:

User Authentication:

Module Access:

Database Security Rules:

Storage

ControlRepository:

ControlMatrix:

Retrieval and Usage:

Caching:

Security

When it comes to security, it’s necessary to have in place specific methods that enforces the users**controlData** controls.

To put this in perspective - consider the basic controls (CRUDA) - and ways to enforce them:

For more specific uses maybe something like this could be implemented:

Et cetera.

Consider supporting this blog