Creating applications with expanded rights