-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SECURITY] Secured Trunk and Glovebox #380
[SECURITY] Secured Trunk and Glovebox #380
Conversation
Converted the the trunk and glovebox items events into functions and exports.
Added the bull ---@ and the deprecation messages for the two events
satisfied linter
Further secured the inventory system. I didn't search through the entire core to update teh change so I printed to console to let server ops know that the event, even though it works will be deprecated and to use the export instead.
streamlined the function and still secure.
Added in the luadoc items
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I run this with qb-policejob: qbcore-framework/qb-policejob#422
Tested storage Pull out cars open all the menus
Works good
charj won't approve this PR unless I made changes elsewhere in the code. So changes have been made.
commented out the warning. Gotta make some additional security enhancements.
… into r0ad_qb-jobs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The inventory seems to be working as normal after these changes.
This PR being merged has created further issues: |
I don't know if it's the act of this PR being merged or the other merges that happened after it. This worked perfectly, then after I pulled an update after this PR it all broke and I said to hell with this and went back to using the unsecure method in qb-jobs. Since the unsecure method was put back into this resource. |
Converted the the trunk and glovebox items events into functions and exports.
Description
Replaced the glovebox and trunk events with functions and exports. Set it up in qb-jobs.
Needs to be merged along with qb-policejob: qbcore-framework/qb-policejob#422
As the trunk script is insecure and it relies on the security update.
Checklist