Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

User defined dangerous functions #869

Closed
M66B opened this issue Dec 2, 2013 · 2 comments
Closed

User defined dangerous functions #869

M66B opened this issue Dec 2, 2013 · 2 comments

Comments

@M66B
Copy link
Owner

M66B commented Dec 2, 2013

Same function as template with functions.

@jpeg729
Copy link
Contributor

jpeg729 commented Dec 24, 2013

If we could store the template as restrictions for uid=0, we could use ActivityApp with custom page headers. That would avoid a lot of code duplication. Alternatively, we could just add extra code to make it load/save the template instead of uid=0.

Going a bit furthur, if getRestricted(hook, context, uid, restrictionName, methodName, ...) returned either the stored restriction for an app, or the restriction for uid=0, then we wouldn't even need to apply the template to new apps. deleteRestrictions would have to be changed, and we would have to clear restrictions for new system apps.

@M66B M66B closed this as completed in 6d55caf Jan 19, 2014
@M66B
Copy link
Owner Author

M66B commented Jan 19, 2014

Long press a function name to toggle dangerous or not.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants