Anonymous | Login | Signup for a new account | 2024-03-29 05:22 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Relationship Graph | [ View Issue ] [ Dependency Graph ] | |||
|
||||
|
Viewing Issue Simple Details | |||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update |
0000956 | [In-Portal CMS] Database | task | sometimes | 2011-01-03 02:56 | 2011-09-30 11:54 |
Reporter | alex | View Status | public | ||
Assigned To | !COMMUNITY | ||||
Priority | normal | Resolution | open | ||
Status | needs work | ||||
Summary | 0000956: Insufficient database permission handling | ||||
Description |
Recently there was a case, when only some of In-Portal table were actually present/accessible to In-Portal (sort of daemon mode), when there was a need to handle simple request and nothing more. I've noticed, that in such case In-Portal doesn't properly handle this resulting more warning/notices to be raised. Here is the patch, that prevents such behavior. |
||||
Additional Information |
These are only permissions, that should be given to MySQL user for testing: GRANT SELECT ON `inportal_database`.`inp_Phrase` TO 'inportal_user'@'localhost'; GRANT SELECT ON `inportal_database`.`inp_ConfigurationValues` TO 'inportal_user'@'localhost'; GRANT SELECT ON `inportal_database`.`inp_Language` TO 'inportal_user'@'localhost'; GRANT SELECT ON `inportal_database`.`inp_Modules` TO 'inportal_user'@'localhost'; GRANT SELECT ON `inportal_database`.`inp_Theme` TO 'inportal_user'@'localhost'; GRANT SELECT ON `inportal_database`.`inp_Skins` TO 'inportal_user'@'localhost'; Also please disable debug mode or just turn DBG_SQL_FAILURE off. |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |