phpvms / phpvms_v2

Virtual Airline Management (not maintained)
http://www.phpvms.net
BSD 3-Clause "New" or "Revised" License
41 stars 46 forks source link

inappropriate permissions for administrators #111

Open Oxymoron290 opened 11 years ago

Oxymoron290 commented 11 years ago

Just documenting my find, and I already have a resolution for it. However, I found the bug while fixing another issue. I realized that as full administrator I didn't have enough privileges to edit the fleet, after digging around it was due to the installation script giving the administrator group the wrong value of permissions.

As I stated before, I have already resolved the issue, but since I am still resolving the other issue I don't feel comfortable submitting the pull request just yet.

If I happen to die in the next couple of hours:

on ./install/fixtures/install.sql edit line 11, it's new content should be the following:

INSERT INTO phpvms_groups (name, permissions, core) VALUES ('Administrators', '2147483647', 1);

Oxymoron290 commented 11 years ago

566129db49e06f646fbafadb9b00f3cc3f7f89f3