User Permissions for New Table

obby7 years ago

Hello Anton,

I'm creating an new UserAction class based on the logging of user activities in the system as shown here.

I have simply put code in the LogAction class to save the data to the database.

I have added the table to the changelog, created its own Java class in the model package.

I have been reading through the code and finally decided to extend it from ExtendedModel class

Then I created a class UserActionsManager extended from SimpleObjectManager to manage the insertions.

I have also added its models and store in the frontend and added some queries in the config file.

I have started testing it and I'm already getting issues with the 'PermissionsManager' class. Should each table declare how users interact with it?

Somehow it was expecting another table in the name of USER_USERACTION??

I'll appreciate some guidelines on how to add new tables and linking them to the frontend via the API

Is this the right way to go about

Is this the right way?