Anonymous | Login | Signup for a new account | 2024-05-16 11:35 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Dependency Graph | [ View Issue ] [ Relation Graph ] [ Vertical ] | |||
|
||||
|
Viewing Issue Simple Details | |||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update |
0000898 | [In-Portal CMS] Admin Interfaces | feature request | always | 2010-10-22 17:59 | 2012-07-25 05:33 |
Reporter | Dmitry | View Status | public | ||
Assigned To | alex | ||||
Priority | normal | Resolution | fixed | ||
Status | closed | ||||
Summary | 0000898: Admin Interface for managing "Permission Types" | ||||
Description |
Create a new section in Admin (under Configuration->Website) called "Permission Types" which will list and allow managing all permissions. Use "PermissionsConfig" table, but there is a need for a new field in called "System" which will be SET to 1 for Permission records inserted during the installation so they can NOT be deleted. |
||||
Additional Information |
Implementation plan: 1. add IsSystem column (0 by default) to PermissionConfig table 2. place ALTER, used to add new column into "Core" module install/upgrades.sql file 3. update PermissionConfig table CREATE TABLE statement in "Core" module install/install_schema.sql file 4. place UPDATE statement in install/upgrades.sql of "Core" module, that will set IsSystem = 1 for all table records 5. for every module (from in-portal.full profile), that inserts records into PermissionConfig table change INSERT statement to have "1" in that new IsSystem column 6. perform clean install and verify, that table structure & contents are the same as they were before clean install (after manual table changing) 7. perform upgrade from 5.1.3 version and verify, that table structure & contents matches the one from clean install at the previous step 8. create new unit and connect it with PermissionConfig table 9. field ModuleId should be dropdown with contents selected from Modules table + 2 options "Admin" and "Front" hardcoded in "options" field option 10. create list/edit templates 11. create section called "Permission Types" in unit config, that will be displayed after "Modules" grid in "Configuration -> Website" section 12. assign all permission to that section for "admin" user group 13. export permission records, that were created for "admin" group from Permissions table into install/install_data.sql file of "Core" module (at correct position, where all permission sqls are) 14. add sqls from above to install/upgrades.sql file of "Core" module too 15. add site config under "admin/system_presets/simple" folder, that will hide this new section when simple interface preset is used 16. translate all needed phrases and then export "Core" module language pack into a separate file (only Admin & Both phrases) 17. merge exported language pack (only your phrases) into install/english.lang of "Core" module 18. test install/upgrade and verify that all phrases are in place and new section is visible/hidden when applicable ---- hours: 1. new unit config + templates - 2 h 2. install/upgrade scripts/phrases - 1 h 3. testing - 0.5 h --- 3.5 h + 0.5 h (since mantis couldn't accept non-integer quote) total |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |