some questions building dpkg, fermer, user permissions

Manual project build issues.
Post Reply
Posts: 4
Joined: Tue Jul 23, 2019 5:38 am

some questions building dpkg, fermer, user permissions

Post by c.r.m »

Could you also add dpkg scripts on Github repository so you can automatically create the dpkg *.deb files after the compilation process?

I tried to build afanasy on Ubuntu 18.04 but the compilation fails with the fermer modules and only compiles sucessfully without fermer. Is this normal for any Ubuntu versions or is there a workaround?

Do you have a possibility right now to set certain permissions on the web gui version to special useres? Right now I saw in the js code that you can type some passwords which then activate 2 different user modes but I didn't see any difference in the function range which the different users can have (all users have all possibilities). So is there something like having normal users with own user permissions and admin users with overall user permissions for the web gui version?
User avatar
Site Admin
Posts: 793
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev

Re: some questions building dpkg, fermer, user permissions

Post by timurhai »

There is a script to create DEB or RPM packages, depending on OS: ...
I use it to create releases.
Go to "utilities/release" folder and run it.

Afanasy lacks authorization mechanism.
It should be, and will be in some time, but for now it is not implemented.
AfWatch gets username just from environment.
Browser (client side javascript) has no access to environment for a security reasons.
So, for now, you should specify username in settings.
By default is "coord".
If specified user does not exists, it treats user as admin to show/manipulate all users jobs.
Timur Hairulin
CGRU 3.2.1, Ubuntu 20.04 LTS, MS Windows 10 (clients only).
Post Reply