Compare commits
	
		
			No commits in common. "d70df11be62f8b71b0110edd23a1572faeabece2" and "40df27d6f6cca9810d049bd6db2f3e9f78a44086" have entirely different histories.
		
	
	
		
			d70df11be6
			...
			40df27d6f6
		
	
		
					 3 changed files with 4 additions and 13 deletions
				
			
		|  | @ -5,12 +5,6 @@ All notable changes to WuttJamaican will be documented in this file. | |||
| The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||||
| and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||||
| 
 | ||||
| ## v0.17.1 (2024-12-08) | ||||
| 
 | ||||
| ### Fix | ||||
| 
 | ||||
| - use proper uuid for special role getters | ||||
| 
 | ||||
| ## v0.17.0 (2024-12-07) | ||||
| 
 | ||||
| ### Feat | ||||
|  |  | |||
|  | @ -6,7 +6,7 @@ build-backend = "hatchling.build" | |||
| 
 | ||||
| [project] | ||||
| name = "WuttJamaican" | ||||
| version = "0.17.1" | ||||
| version = "0.17.0" | ||||
| description = "Base package for Wutta Framework" | ||||
| readme = "README.md" | ||||
| authors = [{name = "Lance Edgar", email = "lance@wuttaproject.org"}] | ||||
|  |  | |||
|  | @ -379,22 +379,19 @@ class AuthHandler(GenericHandler): | |||
|         """ | ||||
|         Returns the special "Administrator" role. | ||||
|         """ | ||||
|         return self._special_role(session, _uuid.UUID('d937fa8a965611dfa0dd001143047286'), | ||||
|                                   "Administrator") | ||||
|         return self._special_role(session, 'd937fa8a965611dfa0dd001143047286', "Administrator") | ||||
| 
 | ||||
|     def get_role_anonymous(self, session, **kwargs): | ||||
|         """ | ||||
|         Returns the special "Anonymous" (aka. "Guest") role. | ||||
|         """ | ||||
|         return self._special_role(session, _uuid.UUID('f8a27c98965a11dfaff7001143047286'), | ||||
|                                   "Anonymous") | ||||
|         return self._special_role(session, 'f8a27c98965a11dfaff7001143047286', "Anonymous") | ||||
| 
 | ||||
|     def get_role_authenticated(self, session, **kwargs): | ||||
|         """ | ||||
|         Returns the special "Authenticated" role. | ||||
|         """ | ||||
|         return self._special_role(session, _uuid.UUID('b765a9cc331a11e6ac2a3ca9f40bc550'), | ||||
|                                   "Authenticated") | ||||
|         return self._special_role(session, 'b765a9cc331a11e6ac2a3ca9f40bc550', "Authenticated") | ||||
| 
 | ||||
|     def user_is_admin(self, user, **kwargs): | ||||
|         """ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue