simple question: can functions run modded commands?

also what if the player whos using the /trigger command doesnt have perms to use the command? can he still use the /trigger and have the function still run?
Continue to help post