|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: Managing Roles2009/7/16 Igor Galić <i.galic@...>:
> (Well, I did find META-INF/redback/redback-core.xml, but it's in a .jar ...) > > So I'm stuck, I guess. > Anyone got an idea how to get unstuck again? If that's the file you want to modify, extract it from the jar and put it in WEB-INF/classes/META-INF/redback/redback-core.xml . Unless the spec has changed, Servlet containers are required to load things in WEB-INF/classes before WEB-INF/lib, so you should see your changes reflected when you re-start the app. Someone more familiar with Redback will have to comment on what changes to make, assuming that's the right place and it's possible to do what you want. -- Wendy |
|
|
Re: Managing Roles> > (Well, I did find META-INF/redback/redback-core.xml, but it's in a > .jar ...) > > > > So I'm stuck, I guess. > > Anyone got an idea how to get unstuck again? > > If that's the file you want to modify, extract it from the jar and > put > it in WEB-INF/classes/META-INF/redback/redback-core.xml . Unless the > spec has changed, Servlet containers are required to load things in > WEB-INF/classes before WEB-INF/lib, so you should see your changes > reflected when you re-start the app. It looks like a plan. But only it appears it won't affect Archiva. The above config file does not contain anything specific to the application only the general Redback defaults. Igor |
|
|
Re: Managing RolesHi Igor,
Try redback.xml in archiva-security jar, the Archiva-specific roles/permissions config should be there :) Thanks, Deng 2009/7/20 Igor Galić <i.galic@...> > > > > (Well, I did find META-INF/redback/redback-core.xml, but it's in a > > .jar ...) > > > > > > So I'm stuck, I guess. > > > Anyone got an idea how to get unstuck again? > > > > If that's the file you want to modify, extract it from the jar and > > put > > it in WEB-INF/classes/META-INF/redback/redback-core.xml . Unless the > > spec has changed, Servlet containers are required to load things in > > WEB-INF/classes before WEB-INF/lib, so you should see your changes > > reflected when you re-start the app. > > It looks like a plan. But only it appears it won't affect Archiva. > The above config file does not contain anything specific to the > application only the general Redback defaults. > > Igor > |
|
|
Re: Managing Roles> Hi Igor, Hi Deng, > Try redback.xml in archiva-security jar, the Archiva-specific > roles/permissions config should be there :) Thanks for the tip. This does indeed include Archiva's redback config, but I'm back to zero, as it doesn't define a default. Only now have I actually found out that a registered user is *not* the *default*, and that my users don't have *any* role -- with exception for the admins and the guest user. How do I change this ``default'' to a saner one? > Thanks, > Deng Thank you all for your patience. Bye, Igor |
| Free embeddable forum powered by Nabble | Forum Help |