https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36205
--- Comment #4 from Kyle M Hall (khall) <[email protected]> --- (In reply to David Cook from comment #3) > (In reply to Kyle M Hall (khall) from comment #2) > > What if we baked a new top level "plugins_permissions" module bit into Koha, > > and then each plugin could add sub-permissions under that module as needed? > > I'm into this idea, but how would we display them in the UI? > > -- > > It looks like the current display uses > "koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc" which is > translation friendly, but is hard-coded. Notably, it looks like that include > doesn't have a default/fallback, but we could change that... > > It looks like the "permissions" table does contain a "description" field, so > that could be used instead, but it's not translation friendly. > > That said, we don't really have a solid translatable plugin approach yet... Yeah, I think translations for plugins is definitely needed to bring them to the next level of international support. That being said we can treat that as a separate issue. Imagine a new top level permission named "Plugin permissions" or something more better. We could leave it checkable to give full plugin permissions to any plugin permissions that may come along, but it would be empty by default. Plugins could then declare permissions by inserting them into the permissions table for this new top level bit, and they should then show up as a checkable sub-permission just like any current sub-permission. Does that make sense? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
