-
Hi, no need to excuse for beeing no native english speaker. This applies to me too, as I 'm german As said, dividing the business cases of authentification/authorization on the one hand and the management of Users, Roles and Permissions on the other was the key. The first case handles what's need to verify a users account/credentials and to
-
Hi, I think the confusion starts when the term 'role' is used as synonym for 'permission'. Unfortunatly the MS security model (IIdentity and IPrincipal) and derived models enhance this misunderstanding. Here's what we do: Permissions are defined by us, as we develop the code and the app at all. So, it's our concern to ask whether
-
Hi Rocky, well, that sounds good (at least at first sight ). My plan is that there will be a private method in my BO (so not in the never changing list), which references the list, generating the effective list through recursion and writing these to a property in the BO. This method will be hooked to events of the BO, not the list stored in LocalContext
-
Hi Rocky, exactly that's the way it is! This list definitly never changes, since we (the developers) define the permissions, so that loading it once in a lifetime of the app's session fits the need. Are objects, stored in LocalContext accessible from my BO's directly? Then it would be the right place for the list... Is there any sample of
-
Hi Dan, thanks for answering. Yes, I need a method like this, and it would be private, so it has to populate he ListOfEffectivePermission. It will be executed at fetching and oher events, that changes users roles and/or diectly assigned permissions (which together result in he EffectivePermissions). The implementation of this method should be almost
-
Hi Kollege the core video series has it's samples in C# and applies to the later (i.e. 3.x) framework release. Therefore it is focused on .net 3.5/VS 2008. But many concepts (the object stereotypes for example) are not that different in former versions. Believe me, backdating that stuff won't be lesser work than updating to CSLA 3.x. And with
-
Hi Andy, thank you for your time. I know Rocky's blog post quite well. Unfortunatly this isn't my problem at all! For authorization/authentification issues I wrap my permissions into the principals IsInRole method, which works fine. Those a/a issues are solved, so no prob over there. Those objects are totally different from those used in the
-
Hi, my first CSLA-project's near to completition and I want to add a "small" functionality which worked out to be a little more complex than thougth at first: I's about a tool for user-/permission-management. It knows users, roles and permissions. Users and roles could be edited by users(admins in this case), permissions are fixed
-
Hi Jeff, nice to read that not only OOP-professionals from the bottom up start to learn the FW! My heritage is quite similar to yours and I started to build my first CSLA-app about 3 months ago. Proud to say it'll be shipped in a few days. What helped me very much as a first step (long before CSLA come into play for me) was reading and working with
-
Hi thank you for your input. I've got to admit that I feel somehow sheepish about the real reason: the combobox is the last control in tab order and pressing 'save' just after choosing a value demands some form-validation, otherwise you'll see a selected value, but it isn't really written to the datasource So my $/€ into the