[Flow] Re: Beginner Questions
Jan Herzog
Jan-christoph-herzog at gmx.net
Tue Jan 14 09:00:14 CET 2014
Hello Steffen and Bastian,
first of all, im kinda impressed of the ammount of help and response i get here. Many Thanks to both of you guys.
I had the Account register working before, while working arround with different code (without using $this->persistenceManager->persistAll();), but in my testing i just tried some variables set.
Now i think i got Login and Register working (Atleast the Authenticate doesnt throw Exceptions). The next thing i tried was using group permissions. I was able to Assign a Group to the User
flow_security_account flow_policy_role
dfc25328-beb5-7bcf-5bb2-18ab0170a6d4 Administrator
I tried to use the security.ifHasRole. But the Content of it didnt get shown. If i wouldnt be using flow, i would just expect me missing Sessions. But i would also think, that flow manage those stuff.
<f:security.ifHasRole role="Administrator">
Admin klappt
</f:security.ifHasRole>
<f:form controller="login" action="authenticate" method="post" class="form-inline">
<f:form.textfield name="__authentication[TYPO3][Flow][Security][Authentication][Token][UsernamePassword][username]" placeholder="username"/>
<f:form.password name="__authentication[TYPO3][Flow][Security][Authentication][Token][UsernamePassword][password]" placeholder="password"/>
<f:form.button type="submit">Log in</f:form.button>
</f:form>
I need 2 Kinds of permissions. I need something like Global permissions, and i need permissions asign to some other controllers (im using this in office, so im not allowed to be more specific.. im trying to descripe the Problem).
Lets Say i got a Forum. I want some Global permissions, like the Administrator. And then i want some Special permssions, like some user beeing Moderator for Specific Threads only. But they can be Moderator in other Threads too, but are Globaly Users. Is this possible with Flow?
More information about the Flow
mailing list