Change user "admin" permissions
Many times it happens that we modify the permissions of the admin user, and when wanting to verify some configurations or when wanting to modify some characteristics of the ScriptCase we can not have access since the permissions were changed.
So what we can do is change the permissions at the database level of the ScriptCase, for this we need an SQLite database administrator.
Can be downloaded here:
When the administrator is installed, enter this route:
Windows: C:\Program Files\NetMake\v9\wwwroot\scriptcase\devel\conf\scriptcase
Linux: /opt/NetMake/v9/wwwroot/scriptcase/devel/conf/scriptcase
Search for the nm_scriptcase.db file:
Then, copy that file to a secure folder, to have a backup copy.
Open the copy with the SQLite administrator and check the data in the sc_tbusu (Search Data) table and modify the field called Privileges, and edit in the "priv_admin" section, it must be changed to "S":
Save the changes.
Copy the modified file, go to the folder:
- Windows: C:\Program Files\NetMake\v9\wwwroot\scriptcase\devel\conf\scriptcase
- Linux: /opt/NetMake/v9/wwwroot/scriptcase/devel/conf/scriptcase
Modify the name of the nm_scriptcase.db file to nm_scriptcase1.db that is inside the mentioned directory.
Paste the modified copy.
Then restart the apache.
Related Articles
Calendar By User
In this example we'll show a connection between an application of Control and the Calendar. This feature can be used for a particular user to view your timetable where their activities are scheduled. Step 1: We will create a calendar, link: (See here ...
Change Time Zone in the php.ini
Many times we find ourselves in the situation that the time zone configured by the tool does not correspond to our area, so we proceed to change it in the Configuration: Options > Settings: The problem is when the changes are not saved, then, what we ...
How to change the application's state in run time
To change the properties of application execution, changing their form of execution than initially planned, Scriptcase has a macro called sc_apl_conf. The macro should be used as follows: sc_apl_conf ( Application , property , value ) ; So, we can ...
How to change the log module table
After creating the Scriptcase log module, it is possible to change the table. When making this change, a new table will be created from scratch with no records. The records in the previous table must be migrated to your database. How to edit log ...
Hide/Show "New User" field on login screen with HTML template
In this article, we will learn how to enable the "Hide/Show" feature that is available within the "Security -> Settings" option, for the "New User" field found in the login screen that was generated with HTML template. Currently, this feature is ...