Hi!
Is it possible to grant access to a user to edit the lexicon of a single namespace?
I'd like a user would be able to modify the lexicon strings of a single component in its own language.
To achieve it in my custom access policy it seems I have to grant:
- access to lexicon
- access to languages
- access to namespaces
but this way the user could modify all lexicons of all languages of all namespaces...
-
- 24,544 Posts
I think you'd have to do that with a custom CMP, though there may be a way to do it with MIGX.
A really simple-minded way to do it would be a snippet that presents the existing values from the language file and lets the user select a key to alter then lets them input the new value. Submitting would then alter the database to add the new lexicon key and string (or update the existing one).
Note that only values that differ from the ones in the file should go in the DB.