Sean C. wrote:
Almost forgot… plain users don’t have access to Extensions, IIRC.
Don’t give them the admin or developer role and you should be fine
I’m thinking more from the perspective of hosting a website for a client
where I’ve developed some “core” extensions (core to their site’s
needs). In this case, they would have admin rights (it’s their site)
but turning off these core extensions makes about as much sense as
offering them a checkbox to “disable Radiant.”
I could tell them “just never turn this off if you have admin
privileges” but I’d rather keep the ui clean and un-confusing. So,
there are some extensions that they should be able to enable/disable
(like, say, textile) but others (like shards) that I wouldn’t even want
them to see or have control over disabling.
Currently, the vendor/extensions/my_extension/my_extension.rb file
allows me to declare the extension’s description, version, and url. It
would be nice to be able to add a declaration to tell Radiant “don’t
include this extension in the extensions list at all” – sort of a
developer’s-level extension enabling, if you will.
I was hoping something like this exists already. If not, I’d be happy
to submit a ticket.