Comments (2)
Since v5.43, a user's role has required a permission record to create new DMS messages. This should be documented better.
As a starting point:
INSERT INTO iris.permission (role, resource_n, access_n)
SELECT name, 'dms', 4
FROM iris.role
WHERE enabled = true
ON CONFLICT DO NOTHING;
This gives all roles full permission, but would need to be run again after new roles are created.
from iris.
Yeah I did something like that to get us working, it was easy enough to figure out given what I knew. I agree some additional documentation would be better, and a note in the release notes about that change (I see there is one about checking the DMS permission, but clarifying that it requires an additional step to configure would be good).
It would probably be ideal to figure out a way to approximately translate the existing privileges into the new permission system (at least in a "close enough" way) that can be added to a migrate script. It would require a little thought, but probably on par with the sign group -> hashtag transition. Maybe not a big priority until more things move over to the new system, but something to keep in mind. If you want some help with that, let us know.
from iris.
Related Issues (20)
- Web UI Tracking
- Permissions for suggested incident messages
- External authentication with LDAPS
- Beacon action trigger on friction threshold HOT 2
- DMS action messages in work zones HOT 2
- Camera "streamable" => "streaming" HOT 1
- Extend DMS message duration
- Cache password hash for LDAP users HOT 1
- Add iris_user to more events
- Video monitor hashtags HOT 1
- Action plan permissions HOT 1
- Add manifest to .traffic file
- Add compound signs
- Improve permissions
- Add meter events for user actions
- Detector label improvement
- Use hashtags for camera states HOT 1
- DMS sign_event owner after scheduled msg cleared
- Message Composer Overlapping Text
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iris.